Kodi Community Forum
setSetting() doesn't work [Frodo] - 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: setSetting() doesn't work [Frodo] (/showthread.php?tid=179737)

Pages: 1 2


RE: setSetting() doesn't work [Frodo] - demmax2004 - 2013-12-21

Quote:For one you have two key labels the same... You more than one key label('show_menu') in the settings file.

My new settings does not work
PHP Code:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<settings>
  <!-- General -->
  <category label="32020">
    <setting id="show_menu" type="number" label="32023" value="0" default="0" />  
  </category>
</settings> 

Download test script HERE


RE: setSetting() doesn't work [Frodo] - giftie - 2013-12-21

Just tried your test script on Window Frodo(12.2). I first changed the value of Show Menu to 15, clicked ok, then opened up settings to insure it was at 15. Then I ran the script. Checked settings afterwards and the Show Menu setting had changed to 1.

So I don't see the problem.


RE: setSetting() doesn't work [Frodo] - demmax2004 - 2013-12-22

(2013-12-21, 21:38)giftie Wrote: Just tried your test script on Window Frodo(12.2). I first changed the value of Show Menu to 15, clicked ok, then opened up settings to insure it was at 15. Then I ran the script. Checked settings afterwards and the Show Menu setting had changed to 1.

So I don't see the problem.


I have only XBMC 13 Alpha 10.