12th May, 2013, 06:07 AM
12th May, 2013, 05:25 PM
12th May, 2013, 06:00 PM
or if you want to do a xbmc service,
here's one empty service : [attachment=167]
you can install it by (settings->addons>install from zip file)
or unzip in /home/xbian/.xbmc/addons/
to change the name, edit addon.xml and edit id and name
your service code have to be in default.py
here's one empty service : [attachment=167]
you can install it by (settings->addons>install from zip file)
or unzip in /home/xbian/.xbmc/addons/
to change the name, edit addon.xml and edit id and name
your service code have to be in default.py
20th May, 2013, 08:40 PM
Hi,
what about the XBian's services ? I mean those listed by xbian-config... is it possible to add such service ?
Cad
what about the XBian's services ? I mean those listed by xbian-config... is it possible to add such service ?
Cad
20th May, 2013, 08:58 PM
(20th May, 2013 08:40 PM)elcado Wrote: [ -> ]Hi,
what about the XBian's services ? I mean those listed by xbian-config... is it possible to add such service ?
Cad
by editing https://github.com/xbianonpi/xbian-package-config-shell/blob/master/content/usr/local/include/xbian-config/config/services
(so /usr/local/include/xbian-config/config/services). feel free to request-pull the changes to apply for official xbian distro.
20th May, 2013, 09:02 PM
ok, I think I answered myself my question...
After having built my own init.d script service (actually a squeezeslave one following this blog post), I manually edited the "/usr/local/include/xbian-config/config/services" config file to add a line with my service name... and voila !
Cad
After having built my own init.d script service (actually a squeezeslave one following this blog post), I manually edited the "/usr/local/include/xbian-config/config/services" config file to add a line with my service name... and voila !
Cad
20th May, 2013, 10:43 PM
ok, another way is
xbmc -> settings -> xbian -> service ->add custom service (advanced mode)
or via bash (... under service list)
it's not me that have do that,
but think in the name, you have to put the init script name, if process name is the same, nothing in daemon, otherwise process name(s) in deamon.
Belese
xbmc -> settings -> xbian -> service ->add custom service (advanced mode)
or via bash (... under service list)
it's not me that have do that,
but think in the name, you have to put the init script name, if process name is the same, nothing in daemon, otherwise process name(s) in deamon.
Belese