INTERACT FORUM

More => Old Versions => JRiver Media Center 22 for Windows => Topic started by: narbi on April 11, 2017, 05:04:17 pm

Title: Default network zone on tremote client startup
Post by: narbi on April 11, 2017, 05:04:17 pm
I searched a lot, in settings and on the forum, and found no reliable way to prevent jriver to startup in player zone.
I can use the start at last location, it works if the network zone was selected last, but not if I was browsing the library, next startup will be in the Player zone, even if hidden.

I found a workaround that works reliably, so I thought I would share.

What we will do is use windows scheduled tasks to issue a MCC command (/MCC 10011, -1) everytime MC is started.
To do that several steps are needed :

- activate process creation events in windows policy
- create a scheduled task to run on a specific monitored windows event

This link will explain you the whole process : https://superuser.com/questions/745318/how-to-start-a-program-when-another-one-is-started

Replace the notepad line in the XML like explained, with the mc executable path (should be C:\Program Files (x86)\J River\Media Center 22\Media Center 22.exe)
In the actions tab, launch a command : MC22.EXE and in arguments add : /MCC 10011, -1
This will work if your network zone is the second one, just under Player.

It works reliably, the switch to the network zone happens around 5s after the app has opened, which is fine (for me).