Kodi Community Forum

Full Version: settings.xml - reset file setting
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
I assume you mean via getSetting/setSetting ?
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.