INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Command Line Interface - documented?  (Read 2120 times)

grahamk

  • Regular Member
  • World Citizen
  • ***
  • Posts: 107
  • nothing more to say...
Command Line Interface - documented?
« 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
Logged

xen-uno

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 2489
  • Checking your hard disk for errors...
Re:CLI options - documented?
« Reply #1 on: March 28, 2004, 02:46:25 pm »

TimB

  • Citizen of the Universe
  • *****
  • Posts: 1062
Re:CLI options - documented?
« Reply #2 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=-
Logged
Boy do I LOVE Media Center!!!

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42323
  • Shoes gone again!
Re:CLI options - documented?
« Reply #3 on: March 30, 2004, 09:19:27 am »

Just issue a play command and it should start playing where it left off.
Logged
Matt Ashland, JRiver Media Center

grahamk

  • Regular Member
  • World Citizen
  • ***
  • Posts: 107
  • nothing more to say...
Re:CLI options - documented?
« Reply #4 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
Logged

TimB

  • Citizen of the Universe
  • *****
  • Posts: 1062
Re:CLI options - documented?
« Reply #5 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=-
Logged
Boy do I LOVE Media Center!!!

pbreet

  • Regular Member
  • World Citizen
  • ***
  • Posts: 160
  • nothing more to say...
Re:Command Line Interface - documented?
« Reply #6 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).
Logged

xen-uno

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 2489
  • Checking your hard disk for errors...
Re:Command Line Interface - documented?
« Reply #7 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

shAf

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 863
Re:CLI options - documented?
« Reply #8 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  :)
Logged
cheerios from the Avalon Peninsula, Newfoundland

xen-uno

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 2489
  • Checking your hard disk for errors...
Re:Command Line Interface - documented?
« Reply #9 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
Pages: [1]   Go Up