2020-09-08, 01:55
I'm trying to change addon settings with a script that will be called when button is pressed. Unfortunately its not working. Can someone give a hand
I want to change the infodialog_onclick from extended.info settings
Code:
import xbmc
import xbmcaddon
import xbmcgui
import xbmcplugin
ADDON_ID = 'script.extended.interface'
ADDON = xbmcaddon.Addon()
xbmc.executeJSONRPC('{"jsonrpc":"2.0", "method":"Settings.SetSettingValue", "params":{"script.extendedinfo":"infodialog_onclick", "value":false}, "id":1}')
I want to change the infodialog_onclick from extended.info settings
Code:
<setting label="32163" type="bool" id="infodialog_onclick" default="true"/>