INTERACT FORUM
More => Old Versions => Media Center 11 (Development Ended) => Topic started by: zeltak 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
-
There's nothing of that kind at the moment as far as I know.
However you could post your opinion in this thread (http://yabb.jriver.com/interact/index.php?board=5;action=display;threadid=17931;start=100) as Nila is thinking about a plugin that would let you do this.
-
You can do this. Read this section from the command line parameters section on the Dev Zone:
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:)
-
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
-
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
-
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.
-
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
-
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
-
mjextman is in the system32 directory
Rich
-
btw...
is there a list somewhere with all the command prompt commands like open close, the treepath etc..? would be really usefull
Zeltak
-
Please check the Developer's Zone above.
-
got it!
thx ;)
-
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?
-
Thats what I was hoping but need the command for clearing the playing now.
/clear does not work :(
any more ideas?
Rich
-
Hmm...
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 :(
-
excellent, it is case sensitive.
Thanks a lot
Rich
-
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 :)
-
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
-
PERFECT!!!! ;D ;D ;D
thx alot monkeyboy :) works like a charm!!
zeltak
-
Why not just use Girder's built in wait command?
-
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
-
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 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
-
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.
-
You could, of course, use:
/PlayReplace treepath=Playlists\test 1
Instead of /Play and have MC do the clear for you...
-JeffreyK
-
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.
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
-
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 :)
-
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