Kodi Community Forum
Delay in saving addon settings - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+--- Thread: Delay in saving addon settings (/showthread.php?tid=112087)



Delay in saving addon settings - el_Paraguayo - 2011-10-10

I'm a bit confused by this.

I have a script that contains the following lines:

Code:
import xbmc, xbmcaddon
_A_ = xbmcaddon.Addon("script.audiooutputchanger")
_A_.setSetting(id="tvoutput",value="true")

If I change the value to "false", run the script and then open the settings.xml file in the userdata\addon_data folder the setting hasn't updated. It seems to take about 5 minutes, if it updates at all.

There's nothing in the debug log about saving the settings.

Am I doing something really stupid??

FYI I'm running Dharma on Mythbuntu 10.10

Thanks,

el_P