INTERACT FORUM

More => Old Versions => JRiver Media Center 29 for Windows => Topic started by: arcspin on August 27, 2022, 06:12:13 am

Title: Toggle playback option so Windows 10 recognize a sound output
Post by: arcspin on August 27, 2022, 06:12:13 am
Hi,
I'm having problems getting consistent behavior from Win 10 when I turn on my Movie processer (Anthem AVM 70) before watching a movie with JRiver.

When I turn on my AVM 70, the Sound output in Win10 does not recognize that the AVM 70 is on and therefor I cannot switch sound output to the AVM 70.

However as soon as I, in JRiver, go into “Playback options” (thru drop down menu “Player” or hover over gear icon) my AVM 70 is immediately recognized in Win 10 as a sound output device.

Do anyone of you guys know of a way for me to automatically access and then exit the “Playback options” every time I open JRiver? Or knows of a better way for Win 10 to consistently recognize a new sound output.

One way for me to handle this would be to have a keyboard shortcut to directly access and exit "Playback options". Is that somehow possible?
Title: Re: Toggle playback option so Windows 10 recognize a sound output
Post by: tzr916 on August 28, 2022, 08:29:38 am
It might help if you detail your physical connections between the PC / Anthem / Projector. Does the Anthem have pass through mode (keeps connection alive when in standby). Also whether you are leaving this PC on 24/7, or if it gets shut down or uses sleep mode. And what other "sound outputs" do you use on the PC.
Title: Re: Toggle playback option so Windows 10 recognize a sound output
Post by: arcspin on August 28, 2022, 01:41:26 pm
It might help

Thank you tzr916 for reaching out.

I solved the issue with a macro script that opens and closes Playback option every time I open JRiver with my remote.
(This actually makes Windows recognize my AVM 70 every time)
For that I use AutoHotKey (AHK) and made a script that has a key combination (ALT+9) that triggers the macro.
And with I, I mean I took help from the AHK forum as scripting isn't my strongest suit.
https://www.autohotkey.com/ (https://www.autohotkey.com/)

I then programmed my remote with FLIRC to send ALT+9 when I press a designated button on my remote.


I also use Soundswitch to, if necessary, force Windows to switch sound output to my AVM 70 when i press (ALT+0).
I also programmed my remote with FLIRC to send ALT+0 when I press a designated button on my remote.
https://soundswitch.aaflalo.me/ (https://soundswitch.aaflalo.me/)

And to top everything of, I automated everything I programmed with Switchbot and Google Home to make the scripts running every time I turn on my home theater.

This is the script use with AHK
Code: [Select]
#SingleInstance, force
SetKeyDelay, 300

!9::
Run C:\Program Files\J River\Media Center 29\Media Center 29.exe

WinWait, ahk_exe Media Center 29.exe
WinActivate

Send, !p{UP}{ENTER}{TAB 4}{ENTER}
Return



Cheers,