Posts: 71
Joined: Oct 2009
Reputation:
0
This is cool. Will an addon developer be able to add a service programatically? Having an addon entry is nice and all, but will I be able to allow control of it being enabled/disabled through my addons settings?
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
of course, it's just like any other add-on. disable it and it won't start...
Posts: 707
Joined: Jul 2004
Reputation:
6
it is a good idea, and keeping the autoexec.py seems to me a good idea too. Too many times when a new XBMC version is released, backwrd compatilbility is not made. I think it is sad and it adds the feeling that addons are not reliable...
Anyway keep going the good job !
Maybe a kind of feature request... It has been a while we have autoexec.py to run scripts at XBMC startup, what about a special script (or extension point) to do some job at XBMC "off time" (when XBMC close). It can be helpfull to stop home made python servers properly, or send messages to listening clients, or even cleanup some temporary files that an addon may have write anywhere...
Posts: 707
Joined: Jul 2004
Reputation:
6
oh ! OK for xbmc.abortRequested ! I didn't noticed !
Thanks (and sorry for being a little "off topic")
Posts: 2,529
Joined: Apr 2009
Reputation:
8
This is not available in Dharma? I am only asking because the autoexec.py wiki page have been removed already....
Posts: 599
Joined: Jan 2010
Reputation:
3
No, it's not available on Dharma, it wasn't backported
Posts: 4
Joined: Feb 2011
Reputation:
0
Do i understand this right? autoexec.py is gone, service has not yet come, so there is no mechanism for autostart at the moment?