Target monitor selector for XBMC
I have a TV and a projector connected to my Mac Mini media center, and can choose either screen by using these scripts.
The scripts overwrite
advancedsettings.xml in XBMC's
userdata folder. I got the required data by configuring XBMC for each target screen, and diffing the resulting
guisettings.xml files afterwards.
My Samsung 1080p LED TV needs a -250 ms audio delay, and is the main display. It's hooked up to the Mini DisplayPort output.