RunAddon(id) from within settings.xml doesn't work
#1
In settings.xml of a script I have following part:
Code:
<setting id="runEdit" type="action" option="close" label="30007" action="RunAddon('script.program.phonebook')" />

I want to call another script for editing a database. But nothing appears, no errors in logfile. The only thing is that the configuration dialog was closed (I think while an option="close" is inside the setting-tag). The script exist in script.program.phonebook and is visible (and running) in xbmc too (Programs). What I'm doing wrong?
Reply
#2
I believe you have to actually specify a file to run. I do this same thing with this in my settings.xml:

RunScript($CWD/resources/lib/config.py)
Image
Channel surfing for your video library
Development Blog Repository
Reply
#3
_BJ1: Get rid of the quotes.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#4
jmarshall Wrote:_BJ1: Get rid of the quotes.

Yes... That did it.
Reply

Logout Mark Read Team Forum Stats Members Help
RunAddon(id) from within settings.xml doesn't work0