INTERACT FORUM

Please login or register.

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

Author Topic: remote (Girder) option for playing fav smartlist..  (Read 3514 times)

zeltak

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 494
remote (Girder) option for playing fav smartlist..
« on: January 07, 2004, 11:48:58 am »

hi guys!

i was wondering if there was anyway (i couldnt find it with the original frider GML file..) to assign a command/button in order to quickly acsses or rather play a favorite smart list so that when i press that assigned button in the remote the smartlist will automaticly play.

thx in advance

Zeltak  :) ;D
Logged

Zarius

  • Regular Member
  • World Citizen
  • ***
  • Posts: 178
  • Addicted to smilies.
Re:remote (grider) option for playing fav smartlist..
« Reply #1 on: January 07, 2004, 04:38:46 pm »

There's nothing of that kind at the moment as far as I know.

However you could post your opinion in this thread as Nila is thinking about a plugin that would let you do this.
Logged

jleerigby

  • Guest
Re:remote (grider) option for playing fav smartlist..
« Reply #2 on: January 07, 2004, 04:50:47 pm »

You can do this.  Read this section from the command line parameters section on the Dev Zone:

Quote
mjextman.exe /Play [filename] plays specified file. 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:)
Logged

zeltak

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 494
Re:remote (Girder) option for playing fav smartlist..
« Reply #3 on: January 07, 2004, 04:58:40 pm »

WOW!!!!!!

Thx alot Jlee thats EXACTLY what i was looking for for ages  :) ;D ;) 8)!!!!

i really appriciate it, but another Quick Q, is there a way to also clear the original playlist in playing now instead off adding the playlist like it does right now?

thx alot in advance

Zeltak  :D
Logged

zeltak

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 494
Re:remote (Girder) option for playing fav smartlist..
« Reply #4 on: January 07, 2004, 05:09:01 pm »

oopss... :P
i have another problem...the command works perfectly in windows run menu but i cant get it to work with grider... :( from some reason in the execute menu in grider it can only execute the C:\WINDOWS\system32\mjextman.exe but not the xtra features like the "/Play treepath=playlists\Prime randon" any ideas  :P ?

sorry for the nagging  ;)

Zeltak
Logged

Zarius

  • Regular Member
  • World Citizen
  • ***
  • Posts: 178
  • Addicted to smilies.
Re:remote (Girder) option for playing fav smartlist..
« Reply #5 on: January 07, 2004, 05:10:00 pm »

Cool... I tried looking for something like that with mjextman but couldn't find it.

By the way... I don't seem to have mjextman.exe in my Media Center directory, is this not installed now, or somewhere else?

Still, it's not very handy for me either, since I'd mostly want to 'Play Now' the playlist, not add it to the end.
Logged

Monkeyboy

  • Regular Member
  • World Citizen
  • ***
  • Posts: 247
  • I'm a Monkey
Re:remote (Girder) option for playing fav smartlist..
« Reply #6 on: January 07, 2004, 05:13:06 pm »

put the "/Play treepath=playlists\Prime randon" in step size and bobs... ;)
Rich

I would like to be able to load just the playlist too, cant see a way of doing it. I thought there would be a command for clear playing now but cant see it
Logged

zeltak

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 494
Re:remote (Girder) option for playing fav smartlist..
« Reply #7 on: January 07, 2004, 05:19:16 pm »

sweeetttttt ;)

Thx alot monkeyboy. yeah i agree its a shame there isnt a clear playlist option but even without it its pretty cool


zeltak  ;D
Logged

Monkeyboy

  • Regular Member
  • World Citizen
  • ***
  • Posts: 247
  • I'm a Monkey
Re:remote (Girder) option for playing fav smartlist..
« Reply #8 on: January 07, 2004, 05:20:28 pm »

mjextman is in the system32 directory
Rich
Logged

zeltak

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 494
Re:remote (Girder) option for playing fav smartlist..
« Reply #9 on: January 07, 2004, 05:22:33 pm »

btw...

is there a list somewhere with all the command prompt commands like open close, the treepath etc..? would be really usefull

Zeltak
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72380
  • Where did I put my teeth?
Re:remote (Girder) option for playing fav smartlist..
« Reply #10 on: January 07, 2004, 05:40:58 pm »

Please check the Developer's Zone above.
Logged

zeltak

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 494
Re:remote (Girder) option for playing fav smartlist..
« Reply #11 on: January 07, 2004, 05:46:56 pm »

got it!

 thx  ;)
Logged

Zarius

  • Regular Member
  • World Citizen
  • ***
  • Posts: 178
  • Addicted to smilies.
Re:remote (Girder) option for playing fav smartlist..
« Reply #12 on: January 07, 2004, 06:46:33 pm »

Hmm... haven't tried it yet since my MC is busy getting stuff of the net, but couldn't you set up a Girder multi-command with mjextman.exe /Clear as the first command and mjextman.exe /Play TREEPATH=.... as the second?
Logged

Monkeyboy

  • Regular Member
  • World Citizen
  • ***
  • Posts: 247
  • I'm a Monkey
Re:remote (Girder) option for playing fav smartlist..
« Reply #13 on: January 07, 2004, 06:50:42 pm »

Thats what I was hoping but need the command for clearing the playing now.
/clear does not work  :(
any more ideas?
Rich
Logged

Zarius

  • Regular Member
  • World Citizen
  • ***
  • Posts: 178
  • Addicted to smilies.
Re:remote (Girder) option for playing fav smartlist..
« Reply #14 on: January 07, 2004, 06:52:26 pm »

Hmm...
Quote
mjextman.exe /Clear [mode] clears Playing Now playlist.  If mode is empty, all items will be removed. If mode is DontRemoveCurrent, currently playing file will not be removed.
Is it case sensitive?  ie /clear wont work but /Clear does?  If not, I guess it's broken :(
Logged

Monkeyboy

  • Regular Member
  • World Citizen
  • ***
  • Posts: 247
  • I'm a Monkey
Re:remote (Girder) option for playing fav smartlist..
« Reply #15 on: January 07, 2004, 06:59:45 pm »

excellent, it is case sensitive.
Thanks a lot
Rich
Logged

zeltak

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 494
Re:remote (Girder) option for playing fav smartlist..
« Reply #16 on: January 08, 2004, 03:13:04 am »

thx for the /clear option its great but how do i make a second step in grider i cant seem to be able to do it its either the clearing option or playing option, how do you define a second step

Thx

Zeltak :)
Logged

Monkeyboy

  • Regular Member
  • World Citizen
  • ***
  • Posts: 247
  • I'm a Monkey
Re:remote (Girder) option for playing fav smartlist..
« Reply #17 on: January 08, 2004, 05:14:06 am »

Using a multi group, you can get girder to do more than one thing on an event string.
i.t make an multi group with clear and play in it.
It seems that MC needs some time to do the clear, so the play command it ignored in this case.
To work around this, enable the alarm timer plugin.
Make a multi group with 4 commands in, configure the commands as follows.
1. Clear playing now (as before)
2. Wait for Clear - goto the plugins tab and configure the alarm timer with a timeout of something sensible (600ms seems to work fine here), and where it says On End point it to the last command of the 4 commands. (make sure the timer id is not being used elsewere in the girder config)
3. Girder command - Stop processing
4. Play plalist (as before)
then click on the multi group and learn event to set it to the appropriate button.
I hope this help, let me know if you need some more clarification. ;)
Rich
Logged

zeltak

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 494
Re:remote (Girder) option for playing fav smartlist..
« Reply #18 on: January 08, 2004, 06:03:24 am »

PERFECT!!!! ;D ;D ;D

thx alot monkeyboy  :)  works like a charm!!

zeltak
Logged

jleerigby

  • Guest
Re:remote (Girder) option for playing fav smartlist..
« Reply #19 on: January 08, 2004, 04:25:41 pm »

Why not just use Girder's built in wait command?
Logged

Monkeyboy

  • Regular Member
  • World Citizen
  • ***
  • Posts: 247
  • I'm a Monkey
Re:remote (Girder) option for playing fav smartlist..
« Reply #20 on: January 08, 2004, 04:46:15 pm »

I have not used that before, I have only used the alarmtimer because it has more functionality. Its kinda hidden there under the window tab, as if its purpose it to do something with a window rather than having that option.
Does the same thing in the end.
Rich
Logged

Zarius

  • Regular Member
  • World Citizen
  • ***
  • Posts: 178
  • Addicted to smilies.
Re:remote (Girder) option for playing fav smartlist..
« Reply #21 on: January 08, 2004, 04:59:47 pm »

I think there's a difference in the way the alarmtimer and the wait command works... I'd go with the alarmtimer, because I think that the wait command forces girder to wait with it (so girder wont respond to anything whilst 'waiting'), whereas the alarmtimer is independent.  You can test this by making a large wait time, say 10000 (should be 10 seconds?), and then trying other remote control commands (eg volume control or whatever).
Logged

Monkeyboy

  • Regular Member
  • World Citizen
  • ***
  • Posts: 247
  • I'm a Monkey
Re:remote (Girder) option for playing fav smartlist..
« Reply #22 on: January 08, 2004, 05:04:08 pm »

I think there's a difference in the way the alarmtimer and the wait command works... I'd go with the alarmtimer, because I think that the wait command forces girder to wait with it (so girder wont respond to anything whilst 'waiting'), whereas the alarmtimer is independent.  You can test this by making a large wait time, say 10000 (should be 10 seconds?), and then trying other remote control commands (eg volume control or whatever).
I did not realise that, thanks for bringing it to light
Rich
Logged

jleerigby

  • Guest
Re:remote (Girder) option for playing fav smartlist..
« Reply #23 on: January 09, 2004, 07:44:30 am »

I think there's a difference in the way the alarmtimer and the wait command works... I'd go with the alarmtimer, because I think that the wait command forces girder to wait with it (so girder wont respond to anything whilst 'waiting'), whereas the alarmtimer is independent.  You can test this by making a large wait time, say 10000 (should be 10 seconds?), and then trying other remote control commands (eg volume control or whatever).

Why on earth would you want girder to respond to something while it's in the middle of Clearing the playing now list and getting ready to repopulate it with another list.  You should only need to wait about 500ms to 1 sec.
Logged

JeffreyK

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 52
  • nothing more to say...
Re:remote (Girder) option for playing fav smartlist..
« Reply #24 on: January 09, 2004, 09:40:38 am »

You could, of course, use:
/PlayReplace treepath=Playlists\test 1
Instead of /Play and have MC do the clear for you...

-JeffreyK
Logged

Monkeyboy

  • Regular Member
  • World Citizen
  • ***
  • Posts: 247
  • I'm a Monkey
Re:remote (Girder) option for playing fav smartlist..
« Reply #25 on: January 09, 2004, 10:02:28 am »

I think there's a difference in the way the alarmtimer and the wait command works... I'd go with the alarmtimer, because I think that the wait command forces girder to wait with it (so girder wont respond to anything whilst 'waiting'), whereas the alarmtimer is independent.  You can test this by making a large wait time, say 10000 (should be 10 seconds?), and then trying other remote control commands (eg volume control or whatever).

Why on earth would you want girder to respond to something while it's in the middle of Clearing the playing now list and getting ready to repopulate it with another list.  You should only need to wait about 500ms to 1 sec.
I dont think it would make much difference for this application for me, but I could see why it might mess things up if you use it all over, for example if you used wait to make a sleep timer and set it to 30 mins then you wouldn't be able to do anything for that time.
Some people have a lot of background tasks going in girder at times so I could see how this might mess things up for them.

Quote
You could, of course, use:
/PlayReplace treepath=Playlists\test 1
Instead of /Play and have MC do the clear for you...

-JeffreyK
I have just tried it, and it works but does something very strange, I set up a command to play Playlists\Auto Smartlist (music) which works fine using the first method I described, when you use the command
/PlayReplace TREEPATH=Playlists\Auto Smartlist (music)
its starts playing my whole library, video n all!
Rich
Logged

Zarius

  • Regular Member
  • World Citizen
  • ***
  • Posts: 178
  • Addicted to smilies.
Re:remote (Girder) option for playing fav smartlist..
« Reply #26 on: January 09, 2004, 10:04:34 am »

I don't know why... but there may be a time, so since it's pretty easy to avoid using 'wait', why not? :)  Having said that, if 500ms works fine each time, I'd probably use 'wait'... I might use alarmtimer for 1 sec. (eg. You may set a playlist and then change the volume straight after... *shrug*)  Much of a muchness, as they say :)
Logged

zeltak

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 494
Re:remote (Girder) option for playing fav smartlist..
« Reply #27 on: January 09, 2004, 10:31:11 am »

i have the same problem as monkeyboy  :P it also starts playing my whole library, video pic etc.... is there something wrong with the command or is it just a bug?

zeltak
Logged
Pages: [1]   Go Up