Accessing Standard Kodi Settings via Program Addon
#1
Hey all,

Is there a way to access Kodi settings and set/get them that is similar to the xbmcaddon's getSetting and setSettings functions? I am looking at doing an advanced configuration helper but I would like to adjust the settings via the addon's code rather than simply writting entire xml file replacements like most out there do for the advancedsettings.xml or guisettings.xml if possible.
Reply
#2
You might look at the JSON RPC calls.  There's a group of calls for settings:

http://kodi.wiki/view/JSON-RPC_API/v8#Settings

You can execute JSON calls in python by using xbmc.executeJSONRPC, so the user doesn't even have to enable any of the web services for that to work.
Reply
#3
This would be better in addon development - I'll move it there.

Addon support is more for existing addons.
|Banned add-ons (wiki)|Forum rules (wiki)|VPN policy (wiki)|First time user (wiki)|FAQs (wiki) Troubleshooting (wiki)|Add-ons (wiki)|Free content (wiki)|Debug Log (wiki)|

Kodi Blog Posts
Reply

Logout Mark Read Team Forum Stats Members Help
Accessing Standard Kodi Settings via Program Addon0