Stop playback on television source/input change

Let’s say I am watching a movie on my osmc connected through the HDMI cable to my television, CEC is working (e.g. I use my tv remote to control osmc).

I then switch the input on my television to another source, let’s say my blueray.

My wish is that osmc could detect this situation and stop/pause playing the movie.

Is this already possible somehow?

More technically: Is it possible to detect from osmc (or from reaspberry) if an HDMI player is actively showing the content or is “idle”?

Check options in Settings -> System -> Input Devices -> Peripherals -> CEC

2 Likes

found! cool, thank you