I would need some help with CEC adapter. Sometime it does get stuck and what i found is enough (restarting kodi is not required) is to go into settings device.peripherals and disable / enabled the adapter.
Can someone help me with how this would be automated either with RPC command (Settings part of rpc json seems possible?) that would tweak the appropriate setting or with an ssh script.