error with addon on python 3
#8
Again me Smile I am not sure this is python 3 problem, maybe it is kodi v18 or only the alpha with p3 problem; anyways, I have a settings file, and in it values have defaults, so when settings don't exist and you run addon for the first time, those default values should be created, right?

i.e. <setting id="Lat" type="text" default="50.1167" visible="false" /> will create a line in settings with     <setting id="Lat" value="50.1167" />, right? And it kinda works, but when I have a line:

<setting id="timeOnStart" type="time" label="32093" default="20:00" visible="eq(-1,1)" enable="eq(-1,1)" />

it creates a line in settings like this:

<setting id="timeOnStart" default="true"></setting>
as opposed to the kodi v17:
<setting id="timeOnStart" value="20:00" />

trueHuh? What am I missing here?
Reply


Messages In This Thread
error with addon on python 3 - by User 325245 - 2018-02-01, 11:32
RE: error with addon on python 3 - by Klojum - 2018-02-01, 12:15
RE: error with addon on python 3 - by User 325245 - 2018-02-01, 13:06
RE: error with addon on python 3 - by ronie - 2018-02-02, 02:56
RE: error with addon on python 3 - by ronie - 2018-02-02, 12:09
RE: error with addon on python 3 - by ronie - 2018-02-05, 01:49
Logout Mark Read Team Forum Stats Members Help
error with addon on python 30