2016-02-03, 00:21
Hi
Does anyone know of a way to force the skin settings.xml (previously guisettings.xml) to physically write out to the <kodi/userdata/addon_data/SKINNAME/settings.xml> file without using one of the power options like exit, reboot etc.?
In a project I'm working on we have a setup wizard launched on first time run of the skin. The skin checks for a skin setting on startup to determine whether the wizard has been run previously. Problem is that if the user power cycles the device without using the power options, the skin settings don't get saved. I waited with kodi on idle for almost 20 mins and the file was not written out.
TL;DR - Is there a way to trigger Kodi writing out guisettings and skin settings to file that doesn't involve using Exit or Reboot?
Does anyone know of a way to force the skin settings.xml (previously guisettings.xml) to physically write out to the <kodi/userdata/addon_data/SKINNAME/settings.xml> file without using one of the power options like exit, reboot etc.?
In a project I'm working on we have a setup wizard launched on first time run of the skin. The skin checks for a skin setting on startup to determine whether the wizard has been run previously. Problem is that if the user power cycles the device without using the power options, the skin settings don't get saved. I waited with kodi on idle for almost 20 mins and the file was not written out.
TL;DR - Is there a way to trigger Kodi writing out guisettings and skin settings to file that doesn't involve using Exit or Reboot?