2015-09-02, 19:16
(2015-09-02, 19:04)Jayz2K Wrote:Damn you're right ... settings.xml is updated at KODI closing. Then I'm stuck with my backup feature :/(2015-09-02, 18:57)marcelveldt Wrote:(2015-09-02, 13:17)Jayz2K Wrote: Well, I'm not really sure now how it happens. It's finally not at each launch.
Maybe after a KODI update or skin.helper update. It acts like an init param you don't get at first time that returns an empty backup "[]" or incomplete one (1 or 2 strings instead of more than 20). Happened 2 or 3 times.
Hmmm, are you testing this on on Isengard or Jarvis ? From Jarvis something has changed in Kodi. the skinsettings are no longer stored in the guisettings.xml file in the userdata root but are now stored as a settings.xml in the addon_data\skin folder which is off course a way better implementation but I wonder if they've also changed the way when settings are written. Maybe the changes are only written at Kodi shutdown and not instantly... That would explain your issue.
The main problem is that the only way to retrieve all skin settings is to read the guisettings.xml (or in Jarvis the settings.xml) because there's no method to read the skin settings in the Kodi API.
I'm only using Jarvis builds. I can try to build something and look at the xml file in the addon_data if it changes on the fly. Will report ...