2016-01-10, 19:54
Hello everyone,
i've searched the forum all day for a solution to this problem and hope someone can tell me if its possible or not:
Basically i'd like to simulate a klick on the "preview"-button in "Settings - Appearance - Screensaver"
I found out i can change system settings via JSON's "Settings.SetSettingValue" and from
https://github.com/empatzero/xbmca10/blo...s.cpp#L928
i learned that screensaver.preview is a "BUTTON_CONTROL_STANDARD", so instead of a e.g "true", or "false" value, i'd need one that presses enter or klicks, or so..
Heres the command that i worked out so far:
{"jsonrpc":"2.0", "method":"Settings.SetSettingValue", "params":{"setting":"screensaver.preview", "value":***WHAT_TO_PUT_HERE?***}, "id":1}
I'm running Kodi 15.1 on a Rpi2
Thanks a lot
Dani
i've searched the forum all day for a solution to this problem and hope someone can tell me if its possible or not:
Basically i'd like to simulate a klick on the "preview"-button in "Settings - Appearance - Screensaver"
I found out i can change system settings via JSON's "Settings.SetSettingValue" and from
https://github.com/empatzero/xbmca10/blo...s.cpp#L928
i learned that screensaver.preview is a "BUTTON_CONTROL_STANDARD", so instead of a e.g "true", or "false" value, i'd need one that presses enter or klicks, or so..
Heres the command that i worked out so far:
{"jsonrpc":"2.0", "method":"Settings.SetSettingValue", "params":{"setting":"screensaver.preview", "value":***WHAT_TO_PUT_HERE?***}, "id":1}
I'm running Kodi 15.1 on a Rpi2
Thanks a lot
Dani