INTERACT FORUM
More => Old Versions => JRiver Media Center 22 for Linux => Topic started by: RvdZ on November 19, 2016, 07:25:12 am
-
I try to start MC with a MCC command to set the default user.
I'm using MC21 on Ubuntu 16.04.
It looks like MC is not handling the command-line parameters correct.
I use the following command:
mediacenter21 /MCC 22028,1008
or (to escape the ","):
mediacenter21 /MCC 22028\,1008
Instead of starting with user-ID 1008 it tries to add a file with filename 22028,1008
Am I doing something wrong?
Anyone an idea?
Part of the logfile for command "mediacenter21 /MCC 22028\,1008":
...
0000379: 11077504: General: CMCPlayerApp::ExecuteCommandLine: Command Line: /MCC 22028,1008
0000379: 11077504: General: CMCPlayerApp::Play: Start
0000379: 11077504: General: CMCPlayerApp::Play: Command line: /MCC 22028,1008
...
0000436: 11077504: Import: JRAnalyzer::Open: Start
0000436: 11077504: Import: JRAnalyzer::AddFile: Start
0000436: 11077504: Import: JRAnalyzer::AddFile: Filename: 22028,1008
...
René.
-
As far as I know, command line parameters for Media Center are not supported by any platform other than windows. Maybe I'm wrong though. Have you tried issuing a very simple MCC command on the command line like Play/Pause (command # 10000) ?
You might consider automating your MCC commands by using wget or curl with calls to the web interface MCWS, which can issue any MCC command. See the online docs for MCWS on your MC server with this URL:
http://localhost:52199/MCWS/v1/doc
Good luck.
Brian.
-
As far as I know, command line parameters for Media Center are not supported by any platform other than windows. Maybe I'm wrong though. Have you tried issuing a very simple MCC command on the command line like Play/Pause (command # 10000) ?
You might consider automating your MCC commands by using wget or curl with calls to the web interface MCWS, which can issue any MCC command. See the online docs for MCWS on your MC server with this URL:
http://localhost:52199/MCWS/v1/doc
Good luck.
Brian.
Brian is correct. There isn't a command line executor package in linux at this time and you can do it through the web interface for example with curl.