I have LG TV with a soundbar connected to HDMI ARC Input, and a Raspberry+Libreelec connected to the soundbar.
What happens is that if i power off the TV when is selected the Kodi input, it automatically turns ON after about 5-10 seconds.
The only way i've found to power off the TV is to change the input to antenna (aerial TV) and then power off the TV. But it does not work always and from time to time the TV cames up again after a random time (minutes to hours).
This behaviour does not happen when Kodi is directly connected to TV using another HDMI input instead through the soundbar. But there are some other pitfalls in this configuration, so i prefer to have the RPi connected to the soundbar.
I enabled debugging and do: play video -> stop -> shutdown TV -> wait for TV to power ON -> play same video again -> stop -> shutdown TV -> wait for TV to power ON.
The power off times in the log are 18:03:11.084 and 18:03:50.791.
The log is here:
Any help would be appreciated. Thank you very much!