Forum

Full Version: Creating a service
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i can see that i can create a service , but how ?
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
Hi,

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: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.
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
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
Reference URL's