2013-11-26, 19:57
Hi,
In my settings.xml I have something like this:
What I want to do now is call RunScript with a different script to the one defined in addon.xml (ie default.py) which is then referenced by $ID. Is there a way to do this?
Ie I want...
[*Context: I don't see the need to have to jump into a script that has nothing to do with the function at hand. I want one script to handle settings and one to do the day to day running of the addon *]
Are there any other $ variables available, or can I add another script library (?) to addon.xml which can then somehow magically be refered to in settings.xml?
In my settings.xml I have something like this:
Code:
<setting id="Location" type="action" action="RunScript($ID,SetLocation)" default=""/>
What I want to do now is call RunScript with a different script to the one defined in addon.xml (ie default.py) which is then referenced by $ID. Is there a way to do this?
Ie I want...
Code:
<setting id="Location" type="action" action="RunScript(/home/elliot/.xbmc/addons/discobus/setup.py,SetLocation)" default=""/>
[*Context: I don't see the need to have to jump into a script that has nothing to do with the function at hand. I want one script to handle settings and one to do the day to day running of the addon *]
Are there any other $ variables available, or can I add another script library (?) to addon.xml which can then somehow magically be refered to in settings.xml?