2017-08-07, 11:23
I tried to to post this in the Skins forum (Other Skins subforum) but I'm being denied access there (not sure why). However this applies to the RPi as well, so here goes.
Since upgrading to Kodi 17 (OpenElec 8.03 on RPi3) I've been battling with settings (especially skin settings) that do not survive a reboot. This seems to be a months-old issued that is being worked on, according to various posts and bug tickets. It seems to be more prevalent on the Pi than on other platforms but is not unique to it. So I've been trying to find a work-around by going into the settings files..
I'm using Xonfluence, which saves its settings in ~/.kodi/userdata/addon_data/skin.xonfluence/settings.xml (just like Estuary and Confluence do in their own subdirectories). But I'm noticing something strange. I just changed a bunch of settings, and the system time/date is currently Mon Aug 7 11:03:14 SAST 2017 (output of 'date' command). But the timedate stamp on the settings.xml file is Aug 6 12:32 (yesterday). I don't remember changing a setting yesterday at half pas twelve in the afternoon. I may have, but I don't think so.
So if I do a reboot now I'm going to loose all my setting changes again. Questions:
Since upgrading to Kodi 17 (OpenElec 8.03 on RPi3) I've been battling with settings (especially skin settings) that do not survive a reboot. This seems to be a months-old issued that is being worked on, according to various posts and bug tickets. It seems to be more prevalent on the Pi than on other platforms but is not unique to it. So I've been trying to find a work-around by going into the settings files..
I'm using Xonfluence, which saves its settings in ~/.kodi/userdata/addon_data/skin.xonfluence/settings.xml (just like Estuary and Confluence do in their own subdirectories). But I'm noticing something strange. I just changed a bunch of settings, and the system time/date is currently Mon Aug 7 11:03:14 SAST 2017 (output of 'date' command). But the timedate stamp on the settings.xml file is Aug 6 12:32 (yesterday). I don't remember changing a setting yesterday at half pas twelve in the afternoon. I may have, but I don't think so.
So if I do a reboot now I'm going to loose all my setting changes again. Questions:
- Are skin setting changes (for any skin) supposed to be saved immediately?
- Do periodic writes to the skin's settings.xml take place at any other time? (the guisettings.xml file, for example, is updated every time a video stream terminates, if I understand it correctly).
- Is there a way to force a skin to write its settings to the settings.xml file?
- Does this have anything to do with the fact that the rPI mounts a bunch of virtual file systems in RAM from a flash disk image rather than physical file systems on an actual hard disk?