INTERACT FORUM

More => Old Versions => Media Center 11 (Development Ended) => Topic started by: grahamk on March 28, 2004, 12:36:32 pm

Title: Command Line Interface - documented?
Post by: grahamk on March 28, 2004, 12:36:32 pm
Is there anyplace where all the CLI options are documented for Media Center 9.1?

Thx,
 Graham
Title: Re:CLI options - documented?
Post by: xen-uno on March 28, 2004, 02:46:25 pm
Yes...through mjextman...

http://www.musicex.com/mediajukebox/DevZone/CommandLine.html

Rx
Title: Re:CLI options - documented?
Post by: TimB on March 30, 2004, 03:51:56 am
Using the CLI can I start a PN list where I stopped it last time I quit, rather than resetting it or starting it at Track 1?

Thanks!

-=Tim=-
Title: Re:CLI options - documented?
Post by: Matt on March 30, 2004, 09:19:27 am
Just issue a play command and it should start playing where it left off.
Title: Re:CLI options - documented?
Post by: grahamk on March 30, 2004, 10:07:07 am

Is there a way to have the library update itself from file tags from the command line?

I'd like to run this nightly on my system - can't figure out a way to do it.

Thx,
 Graham
Title: Re:CLI options - documented?
Post by: TimB on March 30, 2004, 10:22:26 am
Just issue a play command and it should start playing where it left off.
Matt, when I did this "mjextman.exe /play" (w/out the quotes) it won't start MC10.  The DOS box flashes and goes away.

If I do "mjextman.exe /Play TREEPATH=Playlists\Smartlists (music)\5 Star Songs (non-iPod)" it starts a new list from #1.

-=Tim=-
Title: Re:Command Line Interface - documented?
Post by: pbreet on March 30, 2004, 10:24:26 am
I'd like to be able to issue more than one command per mjextman call, like start the program and play too (without setting start playing on start in options).

UPDATE:  this works,

mjextman /Play TREEPATH=Playing Now

(strange no double quotes aroung "Playing Now" are required.....)

So executing this one command will start MC if not running and play the playing now.  Neat.

I have a macro on my learning remotes to start up my music system, and needed two commands to get MC playing, one to start the program and then a Play command, now I can do it in one command, a 50% command savings (I'm easily entertained).
Title: Re:Command Line Interface - documented?
Post by: xen-uno on March 30, 2004, 10:27:26 am
Graham,

There is no macro language available from inside MC...and probably no function available to mjextman to do this. A Girder batch file, however, could (somewhat steep learning curve, though).

10-27
Title: Re:CLI options - documented?
Post by: shAf on April 05, 2004, 12:24:01 pm
Yes...through mjextman...

http://www.musicex.com/mediajukebox/DevZone/CommandLine.html

I was looking for a way to start up with a webradio URL.  Is there commandline argument for this ability for using with media scheduler?

tia  :)
Title: Re:Command Line Interface - documented?
Post by: xen-uno on April 05, 2004, 03:57:37 pm
from the HTML...

mjextman.exe /Play [filename] plays specified files. Filename parameter can point to a specific file or URL as well as to a location in Media Jukebox organization tree. Any item in the tree, except for CD & DVD and Handhelds can be accessed by replacing filename parameter with following command, TREEPATH=location of an item on the tree (e.g. TREEPATH=Playlists\Top Hits). To play items under the CD & DVD and Handhelds item use DEVICE=drive letter (e.g. DEVICE=G:)  Note that filenames can be separated by pipes

Start Media Scheduler, click on either Task button and pick Action (dropdown)>Start Custom Task. Fill in the parameters boxes with the appropriate data.

10-27