INTERACT FORUM

More => Old Versions => JRiver Media Center 23 for Windows => Topic started by: tzr916 on February 21, 2018, 06:40:26 pm

Title: Command line/batch to run MC23 + Server?
Post by: tzr916 on February 21, 2018, 06:40:26 pm
Tools/Options/Startup/Run on windows startup:
-Nothing
-Media Center
-Media Server
-Media Center and Media Server

When this option is set to "Media Center and Media Server", if I double-click the MC desktop shortcut, everything starts up fine. But if I set the option to "Nothing", only MC starts up (no Server etc). Normal/intended behavior. Fine.


I want to set the above option to "Nothing" and then use a command argument or batch file that will run MC + Server (load library and start all needed services) - simulate the "Media Center and Media Server" option. Any ideas how I can accomplish this?
Title: Re: Command line/batch to run MC23 + Server?
Post by: JimH on February 21, 2018, 07:04:48 pm
Take a look here:
https://wiki.jriver.com/index.php/Web_Service_Interface
Title: Re: Command line/batch to run MC23 + Server?
Post by: RoderickGI on February 21, 2018, 07:51:34 pm
mc23.exe /start
mc23.exe /mediaserver

Would start MC maximised and in focus with the default library loaded.

More here: https://wiki.jriver.com/index.php/The_Command_Line

Such as loading a specific a specific library;
mc23.exe /library <library name>

Its a pity you can't put more than one command on each command line, just a command and its parameters, otherwise you could do this;

mc23.exe /start /library <library name> /mediaserver

But alas, that doesn't work. So a shortcut that calls a batch file it is for you.  ;)
Title: Re: Command line/batch to run MC23 + Server?
Post by: tzr916 on February 21, 2018, 08:33:51 pm
mc23.exe /start
mc23.exe /mediaserver

Test on laptop seems to work. Will try it on Server PC tomorrow.

Thanks