2020-04-18, 19:37
Device: Raspberry pi 3
Distro: Xbian
Kodi ver: 18.6
Hey guys
I have a script that runs in the background to get the power status of my tv. The script has the following condition in an if sentence:
The abovementioned cec-client-command returns the anticipated result, but running the command makes Kodi " loose" the cec-control. In other words I cannot control Kodi with my remote anymore after the script is executed.
Can anyone help me determined if that is the right behavior and if so, how do I get Kodi to reconnect with the CEC?
Thanks in advance.
Distro: Xbian
Kodi ver: 18.6
Hey guys
I have a script that runs in the background to get the power status of my tv. The script has the following condition in an if sentence:
$(echo 'pow 0' | cec-client -s -d 1 RPI) =~ "power status: on"
The abovementioned cec-client-command returns the anticipated result, but running the command makes Kodi " loose" the cec-control. In other words I cannot control Kodi with my remote anymore after the script is executed.
Can anyone help me determined if that is the right behavior and if so, how do I get Kodi to reconnect with the CEC?
Thanks in advance.