Turn on Kodi with plug HDMI wire - Raspberry Pi Forums


dear all,

have raspberry b+

code: select all

raspbian gnu/linux 8 linux raspberrypi 4.4.21+ #911 thu sep 15 14:17:52 bst 2016 armv6l gnu/linux
know if possible turn on (execute) kodi when connect hdmi wire.

tried make script change "enable" paramet in /etc/defualt/kodi when raspberry boot have not got it.

using tvservice -m, can know when wire connect/disconnect raspberry cant execute kodi this.

my intention is:
plug usb in raspberry supply
(raspberry boot)
if hdmi wire connected -> execute kodi
else -> execute rtorrent.

idea?

in advance.

regards



raspberrypi



Comments