Configure peripherals through RPC
#1
Hi All!

Is it possible to configure peripherals through JSON RPC just like I can do via [Settings - System - Input Devices - Peripherals - Edit]?
Basically I want to disable some peripherals from scripts when my TV is off or when other source is active ().

I was trying to find peripheral settings in GetSettings/SetSettings methods, but no luck.

Any help on how to do that is appreciated.

Thanks!
Reply
#2
Unforunately peripherals configuration is implemented completely independent of the other settings in XBMC so you can't access those through the methods in the Settings namespace. Right now there's no way to do what you want.
Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply
#3
Sorry for bringing back an old thread, but I have the exact same question.

It has been 5-6 years now. Has anything changed so that it it possible to change peripheral settings via the JSON-RPC?

My problem is, I need to disable the "CEC adapter" in the "pre-start" script of the "Steam Launcher" plugin from @teeedubb, because otherwise it will send a "shutdown" command to the TV and turn it off (which it should do when the "shutdown" command is used in Kodi) when I start Steam.
Reply

Logout Mark Read Team Forum Stats Members Help
Configure peripherals through RPC0