INTERACT FORUM

More => Old Versions => JRiver Media Center 26 for Windows => Topic started by: shmulik509 on April 10, 2020, 12:38:37 am

Title: selecting Audio Device from command line
Post by: shmulik509 on April 10, 2020, 12:38:37 am
Hello,
I have two configurations I'm using MC with - stereo speakers and headphones. Each uses a different device, and both devices are connected to the computer by USB (ASIO).
Is it possible to control by command line option the audio device MC uses? if it does, I can have two separate shortcuts on my desktop so I don't have to select manually each time I switch listening mode.
It would be best if MC had an option to get its configuration from a file e.g. mc26 /Config filename.xml, where filename.xml is one saved before by "save configuration" option
My other, far less preferable, option is to configure for both output options, export the registry tree at some level, and import that with a batch file.
Suggestions for other options are welcomed,
Shmulik
Title: Re: selecting Audio Device from command line
Post by: wer on April 10, 2020, 12:49:53 am
Yes.

Please study this page, paying attention to the MCC_SET_ZONE command:
https://wiki.jriver.com/index.php/Media_Center_Core_Commands

From the command line you can specify the zone, and you can assign a different audio device for each zone.  You are probably already using separate zones for your two devices.
Title: Re: selecting Audio Device from command line
Post by: shmulik509 on April 10, 2020, 03:05:35 am
thanks. solves the issue.