INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: selecting Audio Device from command line  (Read 446 times)

shmulik509

  • Recent member
  • *
  • Posts: 14
selecting Audio Device from command line
« 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
Logged

wer

  • Citizen of the Universe
  • *****
  • Posts: 2640
Re: selecting Audio Device from command line
« Reply #1 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.
Logged

shmulik509

  • Recent member
  • *
  • Posts: 14
Re: selecting Audio Device from command line
« Reply #2 on: April 10, 2020, 03:05:35 am »

thanks. solves the issue.
Logged
Pages: [1]   Go Up