INTERACT FORUM

More => Old Versions => JRiver Media Center 20 for Linux => Topic started by: Robert Joe on March 08, 2014, 12:00:04 pm

Title: Can you specify command line parameters yet?
Post by: Robert Joe on March 08, 2014, 12:00:04 pm
I tried these and it seems to ignore them:

/usr/bin/mediacenter19 -library Music
/usr/bin/mediacenter19 --library Music
/usr/bin/mediacenter19 /library Music
/usr/bin/mediacenter19 library=Music
Title: Re: Can you specify command line parameters yet?
Post by: bob on March 08, 2014, 09:30:08 pm
I tried these and it seems to ignore them:

/usr/bin/mediacenter19 -library Music
/usr/bin/mediacenter19 --library Music
/usr/bin/mediacenter19 /library Music
/usr/bin/mediacenter19 library=Music

Interesting.
I'd think that would work since you can do the following:

mediacenter19 /mediaserver
and
mediacenter19 somesong.mp3
for example.

Will have to check that.
Title: Re: Can you specify command line parameters yet?
Post by: bob on March 18, 2014, 12:02:32 pm
/library is not an existing command line parameter.
Title: Re: Can you specify command line parameters yet?
Post by: MrC on March 18, 2014, 12:05:06 pm
Do you mean in the Linux version only?   Because:

Quote
12.0.384 (12/04/07)

13. NEW: /Library command line switch changes the library.

I think you're going to have to change your command line switch character to a dash (or double dash) for Linux and Mac.
Title: Re: Can you specify command line parameters yet?
Post by: InflatableMouse on March 18, 2014, 02:21:21 pm
I think you're going to have to change your command line switch character to a dash (or double dash) for Linux and Mac.

Yes, please.
Title: Re: Can you specify command line parameters yet?
Post by: bob on March 18, 2014, 02:37:40 pm
Do you mean in the Linux version only?   Because:

I think you're going to have to change your command line switch character to a dash (or double dash) for Linux and Mac.
Sorry my bad, I thought stuff other than /MediaServer wasn't hooked up in linux but it is.

I just tried this:
mediacenter19 /Library home
and it worked fine.
Title: Re: Can you specify command line parameters yet?
Post by: shadowlight on March 20, 2014, 03:48:44 pm
Sorry my bad, I thought stuff other than /MediaServer wasn't hooked up in linux but it is.

I just tried this:
mediacenter19 /Library home
and it worked fine.


Is there a list of command lines available for Linux.  Interested in finding out how to run mc in debug mode or change the logging level to address some issues I am running into with windows share.
Title: Re: Can you specify command line parameters yet?
Post by: bob on March 21, 2014, 10:54:29 am
Is there a list of command lines available for Linux.  Interested in finding out how to run mc in debug mode or change the logging level to address some issues I am running into with windows share.
http://wiki.jriver.com/index.php/The_Command_Line

These haven't been tested on linux. YMMV.