2015-09-02, 19:13
Hi Montelesse,
I have a small request for the JSON API.
For my skin helper script I want to have access to all skin settings. Mainly for the skinbackup function and for the colorthemes feature.
Because there is no method to get those settings with the Json API I read all settings from the guisettings.xml.
That has been working fine (although the json approach would be better) since now.
Starting from Kodi Jarvis the skinsettings are no longer stored in guisettings.xml but in settings.xml in the addon_data directory which is a good thing.
One downside however is that the settings aren't written to that file on the fly anymore. From my limited testing it seems that any changes are only written at Kodi shutdown.
That pretty much kills my skin backup and colorthemes feature ;-)
Also this same approach is used in the script.toolbox addon by phil.
Would it be possible to extend the json api to get the skin settings ?
I have a small request for the JSON API.
For my skin helper script I want to have access to all skin settings. Mainly for the skinbackup function and for the colorthemes feature.
Because there is no method to get those settings with the Json API I read all settings from the guisettings.xml.
That has been working fine (although the json approach would be better) since now.
Starting from Kodi Jarvis the skinsettings are no longer stored in guisettings.xml but in settings.xml in the addon_data directory which is a good thing.
One downside however is that the settings aren't written to that file on the fly anymore. From my limited testing it seems that any changes are only written at Kodi shutdown.
That pretty much kills my skin backup and colorthemes feature ;-)
Also this same approach is used in the script.toolbox addon by phil.
Would it be possible to extend the json api to get the skin settings ?