INTERACT FORUM

More => Old Versions => Media Center 14 (Development Ended) => Topic started by: audunth on December 13, 2009, 04:37:11 pm

Title: Execute external program upon Zone change
Post by: audunth on December 13, 2009, 04:37:11 pm
Hi!

Is there a way to automatically execute a file/program when switching to specific Zone?

The reason I ask is that my living room speakers are hooked up to zone 2 on my Yamaha receiver (this has nothing to do with the zones in MC), and the receiver can only play analog sources to other zones than the main zone, which means my PC will have to output sound through the analog outputs when I watch movies in the living room. When playing audio/video in my home theater, I use the HDMI digital connection from my PC.

So. I've set up MC so it switches between the onboard sound card for Zone 2 (living room) and ATI HDMI output for Zone 1 (home theater). For audio files it works fine, but when I watch movies I have to do one more thing, open the AC3 Filter dialogue and tick/untick Use S/PDIF. I've made a couple of registry files that takes care of it, so it would be swell if MC could launch the appropriate file when switching zones, thereby automatically telling AC3 Filter to use/not use digital output.
Title: Re: Execute external program upon Zone change
Post by: gappie on December 14, 2009, 10:51:37 am
maybe it is an idea to switch zones via a batch file or something like that. how you switch zones? with a remote or keyboard?
there is an mcc command for switching zones and you could combine that with a way to launch the file?

 :)
gab