I entered HDMI hell last night when I had everything going pretty smoothly and then opted to try to use my Denon X2000 as audio source in the ATV 4 settings, not thinking ahead that would just kick on the airplay interface on the Denon.
Somehow trying to get back to ATV, it completely jacked up HDMI settings so that EVERY. SINGLE. BUTTON PRESS. made it switch from the HDMI input it was on and I had to switch it back. I could swipe on the apple remote, but any press made the HDMI switch.
ATV3 would work perfectly fine back in the chain but had to factory restore the ATV4 and it still did it, so must have been Denon somehow. Finally futzed around in the Denon HDMI settings and got it kinda working normal (maybe some HDMI-CEC) setting but still not sure.
May have to download latest firmware on Denon and factory reset it to start over. It was horrible.