INTERACT FORUM

Please login or register.

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

Author Topic: Launch MC smartlist/play list from Girder  (Read 4643 times)

damian_pentney

  • Guest
Launch MC smartlist/play list from Girder
« on: February 01, 2008, 12:45:01 pm »


I want to be able to launch specific MC smartlists/playlists from Girder. I've read some posts that talk about 'command lines' but I don't know how to do this. Does anyone have a GML example they could share or can anyone give me guidance on how to do this.

Thanks

dee
Logged

bspachman

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 896
Re: Launch MC smartlist/play list from Girder
« Reply #1 on: February 02, 2008, 03:28:10 pm »

The specifics depend greatly on which version of MC and which version of Girder you are using. Hopefully I can help with a kick start....

The commands you'll send using Girder are explained here on the Command Line page of the Wiki.

I use an old version of Girder (v3.2.8), so if you're using something newer, please adjust! :)

I created Girder commands that send the appropriate command line parameters to the proper MC helper program. This is done on the 'OS' tab of my old version of Girder, where I use the following entries:

Command - Execute
File - mjextman.exe
Step Size - <command line parameters> (eg. \Play TREEPATH=Playlists/Genres/Rock)

Hope this helps!
brad
Logged

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: Launch MC smartlist/play list from Girder
« Reply #2 on: February 03, 2008, 12:57:02 pm »

mjextman.exe doesn't exist anymore.  For MC12 it is mc12.exe (which is in the System32 folder, so should be in your search path).
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

elo

  • Junior Woodchuck
  • **
  • Posts: 87
Re: Launch MC smartlist/play list from Girder
« Reply #3 on: February 04, 2008, 03:14:46 am »

What exactely do you want to do? Do you want to use your remote to navigate and pick and start an existing playlist. You can do this by using girder to allow navigation and <select> in the theater-view->playlist view. 
Or if you want to make your own special front-end that is also possible but requires more work and is more complicated. It can be done by using the MC Automation interface in combination with LUA scirpting and Girder. In my opinion the functionality in the existing theater view is good enough.
Logged

ewingr

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 72
  • Change this by choosing profile
Re: Launch MC smartlist/play list from Girder
« Reply #4 on: October 19, 2008, 10:50:04 am »

Hi.

I had JRM 10 working with Girder 3, and had buttons on my remote to play genres. I can't quite figure out the correct commands to get it going now that I have:

  • JRM12
  • Girder 5
  • Running on Vista Ultimate

Here is what I have accomplished so far:

I find that in my case, the command line with JRM12.exe does not work. I have this in my command line, which does pull up JRM12:

C:\Program Files\J River\Media Center 12\Media Center 12.exe

Now, my problem is getting the right path to the tree, I am thinking. This is an example line that worked in  my older versions:

/PlayReplace TREEPATH=Media Library\Audio\Genre/Artist/Album\Jazz

But songs move into the playing now area. It opens JRM, but doesn't play anything.

I do have what I presume is the correct library list (Note I do have Jazz as a genre...just not displaying it in the picture) :



I've experimented with several variations with no success. Can someone give me a hint about the correct command parameter syntax?

Thanks
Logged
Thanks
Roger

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72438
  • Where did I put my teeth?
Re: Launch MC smartlist/play list from Girder
« Reply #5 on: October 19, 2008, 11:02:53 am »

I find that in my case, the command line with JRM12.exe does not work. I have this in my command line, which does pull up JRM12:

I think you want to use MC12.exe.  More information is on the Devzone pages.  Here, for example.

There are also some Girder config files included in the install.  They are here:
C:\Program Files\J River\Media Center 12\Data\Extras\Girder
Logged

ewingr

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 72
  • Change this by choosing profile
Re: Launch MC smartlist/play list from Girder
« Reply #6 on: October 19, 2008, 11:55:06 am »

HI.

I mis-typed in my message above and put jrm12.exe, but I did try mc12.exe.. I find that mc12.exe does not even bring up JRM. The command line I posted does. So I don't think my problem is that.

Thansk for the link, I have been reading that link, and it does not provide any examples of playing genres.

Looking at the files that are in that directory, they are for JRM9. I"d think if they work for 9, then my command above should work for 12, as it did work for 10.

But then again, I'm thinking the problem is with my path to the tree/genra or something. Not sure. But my path used to run the program DOES open the program, I just don't get anything added to the play list.

I apprecicate your reply Jim. But still no success.



Logged
Thanks
Roger

gappie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4580
Re: Launch MC smartlist/play list from Girder
« Reply #7 on: October 19, 2008, 02:56:47 pm »

im not sure if this will help for everything but i use
mc12.exe /PlayReplace TREEPATH=Playlists\\Playlist1
to start up playlist1.. notice the double \\

and you need to use the mc12.exe without C:\Program Files\etc... because the mc12.exe is in the system32. just mc12.exe should be enough to start the programm.

 :)
gab

edit.. my small guess:

/PlayReplace TREEPATH=Media Library\\Audio\\Genre/Artist/Album\\Jazz
Logged

ewingr

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 72
  • Change this by choosing profile
Re: Launch MC smartlist/play list from Girder
« Reply #8 on: October 19, 2008, 09:36:29 pm »

Thanks, yes, I've read multiple times that should start the program, but it doesn't for me. I wonder if the fact I'm installed on Vista makes a difference. And the program does start using the c:\program fijles.... path. It jsut doesn't launch the files to play.

I will try your suggested method and somee variations of that, and post back.

Logged
Thanks
Roger

ewingr

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 72
  • Change this by choosing profile
Re: Launch MC smartlist/play list from Girder
« Reply #9 on: October 23, 2008, 09:32:44 pm »

Well my hopes were high, but still no go.

I again tried with MC12.exe in the file execute line, and it just does absolutely nothing. If I put C:\Program Files\J River\Media Center 12\Media Center 12.exe in that line, it at least opens and brings JRM to the front.

I have tried this in the Parameters line with no success:

/PlayReplace TREEPATH=Media Library\\Audio\\Genre/Artist/album\\Jazz
/PlayReplace TREEPATH=\\Audio\\Genre/Artist/album\\Jazz
/PlayReplace TREEPATH=Audio\\Genre/Artist/album\\Jazz
/PlayReplace TREEPATH=\\Media Library\\Audio\\Genre/Artist/album\\Jazz
/PlayReplace TREEPATH=/Media Library\\Audio\\Genre/Artist/album\\Jazz
/PlayReplace TREEPATH=/Media Library\\Audio\\Genre/Artist/album/Jazz
/PlayReplace TREEPATH=//default\\Audio\\Genre/Artist/album/Jazz


Any other suggestions?




Logged
Thanks
Roger

gappie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4580
Re: Launch MC smartlist/play list from Girder
« Reply #10 on: October 24, 2008, 01:49:32 am »

the only suggestion i have is that you first find your mc12.exe i expect that none of the switches will work with media center 12.exe.
maybe a new install could help with the newest version.
Logged

ewingr

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 72
  • Change this by choosing profile
Re: Launch MC smartlist/play list from Girder
« Reply #11 on: October 24, 2008, 08:27:45 am »

I'll chase that. I find it interesting that the call I am using will launch the program fine, but not work with the parameters.

I'll do a find on the PC and find that specific exe, add it to my path, and give it a try. If no go, I'll reinstall. I'll post back how it goes.

Thanks for your thoughts.
Logged
Thanks
Roger

ewingr

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 72
  • Change this by choosing profile
Re: Launch MC smartlist/play list from Girder
« Reply #12 on: October 24, 2008, 10:31:18 pm »

I have searched my pc and there is not a file named mc12.exe.

But, I just did a RUN MC12.exe, and it launched JRM. I did make some progress, but still can't do what I want.

What happens now is after trying all of the listed syntax above, if somethign is in the Playing Now area it does start playing that, but it doesn't replace it with the list of songs expected from Jazz.


Thanks
Logged
Thanks
Roger

ewingr

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 72
  • Change this by choosing profile
Finallyl Success:
« Reply #13 on: October 24, 2008, 10:51:04 pm »



/PlayReplace TREEPATH=Audio\Genre\Jazz
Logged
Thanks
Roger
Pages: [1]   Go Up