settings.xml - reset file setting
#1
What is the best method to reset a file setting in settings.xml back to empty? Once I've selected a file, I can't seem to remove it, just select a different file. Doesn't seem to be possible.
Reply
#2
I assume you mean via getSetting/setSetting ?
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
#3
I referenced some other script settings and determined that I needed to add an bool "on/off" setting before each file setting in settings.xml. Then in my python script, first check if the "on/off" setting is "on" before I check for the file setting.
Reply

Logout Mark Read Team Forum Stats Members Help
settings.xml - reset file setting0