INTERACT FORUM

More => Old Versions => JRiver Media Center 21 for Windows => Topic started by: essjay on December 02, 2015, 02:33:15 am

Title: Have JRiver Exit on Sleep, Startup on Wake
Post by: essjay on December 02, 2015, 02:33:15 am
I'm just wondering are there settings somewhere to have JRiver MC exit/shutdown when I set the computer to sleep and then startup again when the PC wakes? SO I don't want the program to suspend when the operating system sleeps but completely shutdown and startup. This functionality was available in "Launcher4Kodi" which I used when I was running XBMC/KODI.

There reason I want is due to the time it takes for a library update to kick in. When sleeping/waking it can take a while for a library update to start and I'm hoping it will begin instantly when the program is started (rather than woken up)

Title: Re: Have JRiver Exit on Sleep, Startup on Wake
Post by: AndrewFG on December 02, 2015, 05:09:51 am
^

Have a look at this: http://wiki.jriver.com/index.php/Media_Center_Core_Commands

You can create Windows Events that trigger a batch / script command to send one (or more) of these core commands to MC when a Windows Sleep or Resume event occurs.

Personally I would not actually try to close MC on sleep; I would keep it loaded; but perhaps you can find a command (maybe MCC_IMPORT_AUTO_RUN_NOW) to tell it to refresh the library when the Resume event occurs.

Title: Re: Have JRiver Exit on Sleep, Startup on Wake
Post by: essjay on December 02, 2015, 07:09:15 am
^

Have a look at this: http://wiki.jriver.com/index.php/Media_Center_Core_Commands

You can create Windows Events that trigger a batch / script command to send one (or more) of these core commands to MC when a Windows Sleep or Resume event occurs.

Personally I would not actually try to close MC on sleep; I would keep it loaded; but perhaps you can find a command (maybe MCC_IMPORT_AUTO_RUN_NOW) to tell it to refresh the library when the Resume event occurs.



Thanks for that - I'll have a look.

I'm actually considering writing a windows application that will detect the Sleep and Resume events and startup/shutdown MC from there. Might do the job for me.