Forget autoexec.py: the right way to automatically starts addons
#6
solexalex Wrote: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...

xbmc.abortRequested is set to true when XBMC is closed. Moreover, you can already listen for a json announcement telling you xbmc is closing.
AndroIRC - Best IRC client for Android!
Reply


Messages In This Thread
[No subject] - by daledude - 2011-01-31, 23:16
[No subject] - by spiff - 2011-02-01, 12:43
[No subject] - by V-Turn - 2011-02-03, 01:37
[No subject] - by solexalex - 2011-02-05, 21:51
[No subject] - by blinkseb - 2011-02-06, 02:43
[No subject] - by solexalex - 2011-02-06, 13:13
[No subject] - by vikjon0 - 2011-02-13, 19:51
[No subject] - by lophie - 2011-02-24, 21:22
[No subject] - by blinkseb - 2011-02-24, 22:07
[No subject] - by lophie - 2011-02-24, 22:39
[No subject] - by V-Turn - 2011-03-01, 01:13
[No subject] - by Joerg.Liebner - 2011-03-16, 16:51
[No subject] - by spiff - 2011-03-16, 16:56
[No subject] - by cbull - 2011-04-26, 18:45
[No subject] - by malte - 2011-06-02, 11:38
[No subject] - by vikjon0 - 2011-06-04, 13:50
[No subject] - by malte - 2011-06-07, 07:23
[No subject] - by paddycarey - 2011-09-26, 04:45
[No subject] - by Steve Evans - 2011-10-06, 23:29
[No subject] - by _BJ1 - 2011-10-07, 09:41
[No subject] - by queeup - 2011-10-27, 02:42
[No subject] - by LakersFan - 2012-01-28, 00:20
[No subject] - by Martijn - 2012-01-28, 02:28
Logout Mark Read Team Forum Stats Members Help
Forget autoexec.py: the right way to automatically starts addons2