log the results of this command, part of #162

This commit is contained in:
robweber 2019-12-01 10:04:50 -06:00
parent 5745a20d33
commit 3bceb19e01

View File

@ -17,6 +17,7 @@ class GuiSettingsManager:
def run(self): def run(self):
#get a list of all the settings we can manipulate via json #get a list of all the settings we can manipulate via json
utils.log(xbmc.executeJSONRPC('{"jsonrpc":"2.0", "id":1, "method":"Settings.GetSettings","params":{"level":"advanced"}}'))
json_response = json.loads(utils.encode(xbmc.executeJSONRPC('{"jsonrpc":"2.0", "id":1, "method":"Settings.GetSettings","params":{"level":"advanced"}}'))) json_response = json.loads(utils.encode(xbmc.executeJSONRPC('{"jsonrpc":"2.0", "id":1, "method":"Settings.GetSettings","params":{"level":"advanced"}}')))
settings = json_response['result']['settings'] settings = json_response['result']['settings']