2018-02-01, 13:06
Again me 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" />
true? What am I missing here?
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" />
true? What am I missing here?