Closed robweber closed 4 years ago
Not sure when but seems the format of this file changed at some point from each key/value being:
<screenshotpath>/home/osmc/Programs/</screenshotpath>
To
<setting id="debug.screenshotpath" default="true"></setting>
Much easier to parse and get the ID for each entry but definitely broke the GuiSettingsManager class with this change.
going to re-open this, not sure this 100% fixed the problem. More testing needed.
Describe the problem From Bluerayx on the Kodi Forum - settings restores are not working and haven't in some time.
After further investigation of this it appears the GuiSettingsManager class is not parsing the guisettings.xml file correctly. Upon restore this file is supposed to be read in and any settings that can be set using a JSONRPC call are set. The xml file parser is not giving back the correct key/value pairs so nothing is being set.
Platform and Kodi version Seems to be everything
Link to Debug Log Nothing to log by default but using a test addon to parse the guisettings.xml file this what is being returned by the GuiSettingsManager class:
The keys for all of these are incorrect and need to be fixed.