0

I got my HTPC/Server connected to my Denon receiver. I was wondering if it's possible to get a signal from the receiver when the HDMI channel is active so I can run XBMC when I change the source input? I'm running Ubuntu 14.04 Server edition.

phmsk
  • 25

1 Answers1

0

Rather than recreate the wheel, a user asked a very similar question to your own here:

Possible to run a script when something plugged in / disconnected from Mini DisplayPort?

This seems to be what you are looking for. Then you just set the script referred to here to run XMBC when the HDMI is plugged in. Please pay special attention to whether or not your card records when the HDMI is disconnected. You could then design a script to:

1) Verify that XMBC is running

2) Verify that the HDMI port is still connected using the same UDEV script in the link

3) Kill XMBC gracefully should the HDMI port be unplugged

This assumes that you want the XMBC daemon killed when the HDMI gets unplugged, of course.