Posts: 31,445
Joined: Jan 2011
What setting isn't being saved?
Posts: 31,445
Joined: Jan 2011
Even if it crashes, that shouldn't cause it to go back to defaults unless something else is clearing out your settings. I don't know what would do that, but I would be more worried about that problem. That shouldn't happen.
Posts: 17
Joined: Jun 2014
Reputation:
0
a7jvd1
Junior Member
Posts: 17
I have been trying to resolve this problem on and off for over 3 months now, for a while I gave up but then I have decided to try one more time.
Believe me when I tell you I have tried just about everything I can think of, such as install Gotham fresh and setting up my own collection of movies with the movie information and covers and favourite short cuts etc.
The problems doesn't happen as much on Apple Mac (exact same set up, but does happen sometimes), tends to happen more on Ouya and the PC server sometimes. They are both good spec and fully capable of running XBMC well.
I never had any issues with Frodo with shortcuts and settings disappearing after a crash. This intermittent problem has started since I moved over to Gotham. I have tried an upgrade and a complete fresh install on all the formats mentioned.
When I have done searches on Google many people have had issues with XBMC Gotham reverting back to a standard Guisettings.xml file after a crash.
Two of my friends using XBMC Gotham have had this issue as well, sometimes you are watching something, xbmc does a random crash and then the default guisettings.xml are written and you lose yours.
For the time being I keep backups of my xbmc config on a USB pen drive but I need to try and just load the correct Guisettings.xml before XBMC starts on my PC server, Ouya and Mac if possible.
Can script given kindly by NickR be used to achieve this? If yes how do I execute this code or script before XBMC starts regardless of PC, Mac, Ouya?
Thanks once again.
Posts: 19,982
Joined: May 2009
Reputation:
451
nickr
Retired Team-Kodi Member
Posts: 19,982
Clearly you don't need to do this every time xbmc starts. So when you have these mysterious crashes which magically re-write guisettings, why not just transfer a backed up guisettings.xml from your server, or some master computer at the time. Or keep a guisettings.xml.backup alongside guisettings.xml and just restore that backup when something goes wrong.
Also you will need a backup guisettings for each platform, as stuff like audio device names are different on all those platforms.
Amyway I have given you a script for linux (and probably OSX which is unix anyway), I don't know how to script on windows or android. You'll have to learn that yourself, I am not doing it for you.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)