I have been thinking would it be possible to make a HDMI switch that connects to the TV (maybe via USB to control it), the TV knows it's a switch and add virtual HDMI's and by selecting one of the virtual HDMI's is tell the switch to select the correct port.