2013-12-26, 23:09
(2013-12-26, 23:05)jmarshall Wrote:Quote:* remove next aired from addon folder without restarting (so not through GUI)
Probably just needs a c-pluff rescan prior to install as well as after - IIRC we scan after atm.
We shouldn't rely on script checking it's own settings - it's still running at that point - IMO it should be push-started (i.e. skin says "please start" and on unload "please stop")
we now have the options in addon.xml
* login
* startup
maybe add "call" or something. so when skin calls the add-on it get's started (is this what you are after?)
or do you mean just <onaction>RunScript(script[,args]*) <onaction> ?
and stop all those script on skin unload. so next skin needs to call them again if they use it. where skin needs to have an eable option for those <onactions> ofcourse