2014-06-25, 01:58
Has anyone encountered this before?
The Settings XML file has this entry which explicitly demands the data be stored as an integer:
<setting id="length" label="32031" type="slider" default="5" range="1,1,50" option="int" />
But when the code in the addon tries to int(that_setting) it returns an "invalid literal for int() with base 10:" error.
Deleting the userdata/addon_data/addon/settings.xml file and then recreating it, doesnt solve the problem.
Original Post: http://forum.xbmc.org/showthread.php?tid...pid1740907
Thanks.
The Settings XML file has this entry which explicitly demands the data be stored as an integer:
<setting id="length" label="32031" type="slider" default="5" range="1,1,50" option="int" />
But when the code in the addon tries to int(that_setting) it returns an "invalid literal for int() with base 10:" error.
Deleting the userdata/addon_data/addon/settings.xml file and then recreating it, doesnt solve the problem.
Original Post: http://forum.xbmc.org/showthread.php?tid...pid1740907
Thanks.