2015-03-16, 21:43
Dear all,
Can anyone tell me what the syntax is to get just one setting in Kodi via JSON using Settings.SetSettingValue or
Settings.GetSettingValue?
I need to ask for "audiooutput.passthrough" specifically.
Any chance of a hint on what I am doing wrong here. I have searched the forum and had no luck.
From learning from the wiki I managed to build this simple code which works fine to switch "audiooutput.passthrough" on and off:
http://xxx.xxx.x.xx:8080/jsonrpc?request={"jsonrpc":"2.0","method":"Settings.SetSettingValue", "params":{"setting":"audiooutput.passthrough","value":true}, "id":1}
Now if anyone can tell me what the syntax is to just ask for what that setting is without changing it and get that as boolean feedback in the browser it would make my day. It is a little too deep for me to figure it out.
I am out of ideas to get settings. Grateful for any help.
Can anyone tell me what the syntax is to get just one setting in Kodi via JSON using Settings.SetSettingValue or
Settings.GetSettingValue?
I need to ask for "audiooutput.passthrough" specifically.
Any chance of a hint on what I am doing wrong here. I have searched the forum and had no luck.
From learning from the wiki I managed to build this simple code which works fine to switch "audiooutput.passthrough" on and off:
http://xxx.xxx.x.xx:8080/jsonrpc?request={"jsonrpc":"2.0","method":"Settings.SetSettingValue", "params":{"setting":"audiooutput.passthrough","value":true}, "id":1}
Now if anyone can tell me what the syntax is to just ask for what that setting is without changing it and get that as boolean feedback in the browser it would make my day. It is a little too deep for me to figure it out.
I am out of ideas to get settings. Grateful for any help.