2013-03-13, 17:01
(2013-03-13, 01:50)vijayk416 Wrote: Hey Rob, I just ran a full backup upon reinstalling OpenELEC 2.9.9.5 and noticed that the system setting are not being restored. Is this not something that should be reset or did my backup not update everything properly?
By "system settings" do you mean things that would be stored in the guisettings.xml file? This includes things like language, locale, views in skins, etc.
There are some posts on this thread regarding the guisettings.xml file, I'll summarize them for you. XBMC reads the guisettings file into memory on startup, and writes out the entire file periodically when settings are changed. It also does one final write to the file with current settings when the program closes. This leaves absolutely zero room for the backup addon to replace this file while xbmc is running, and have it take effect.
For example:
You start xbmc - it reads in guisettings and sets up default xbmc views and settings. You restore you files from backup - guisettings.xml file is now a new version based on what you backed up previously. You shutdown xbmc so that your new settings will take effect - xbmc writes the old settings from memory right over the top of you restored guiesettings file.
The only way to restore this file is to do it while xbmc is not running. For systems like OpenELEC this will take some command line magic. I submitted a ticket on trac regarding a method to allow this file to be restored while xbmc is running but nothing has been changed yet.