Delay in saving addon settings

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
el_Paraguayo Offline
Fan
Posts: 454
Joined: Feb 2011
Reputation: 7
Location: London, UK
Post: #1
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

MythSuspendAlarm: Suspend xbmc and set ACPI wake alarm based on next scheduled MythTV recording.
BBC Football Scores: Get live football score notifications.
Random Movie Script: Play random movies from user's library (for skinners).
find quote