1

I have a RPI2 with OSMC installed and I want to do some cec commands to check if the Tv is ON or OFF.

The issue is that after any command cec-client ( except cec-client -h :) ) the OSMC won't receive CEC commands until I restart the RPI. Is there any way to reconnect OSMC with the CEC? Cec service is still running, but OSMC does not recognize it;

4

1 回答 1

2

尝试使用:

xbmc-send -a 'CECActivateSource'

这样 xbmc 将再次与 cec 服务连接。如果它不起作用,您可以随时通过 ssh 重新启动 osmc(但它一点也不漂亮)

于 2016-10-15T14:29:54.843 回答