INTERACT FORUM
More => Old Versions => Media Center 11 (Development Ended) => Topic started by: Agonostis on January 18, 2004, 04:51:25 pm
-
I have some smartlists I'd like to associate with girder events.
How exactly would I do this?
Basically, girder event [button1] would result in playing smartlist "All Music"
Thanks for any advice!
-
Yes - it's easy!
As an example to play the smartlist in the tree under Playlists\my smartlist execute mjextman.exe with the parameter:
/Play TREEPATH=Playlists\my smartlist
Note that this does not replace the current contents of playing now so you may want to create a mutigroup consisting of:
mjextman.exe /Clear
wait (give it around 600 ms)
the above.
This information is available from the dev zone link at the top of the forum under command line parameters.
-
Thanks JLee!
I have my girder commands configured to use the Windows SendMessage commands. There is information about them in the dev zone link also, but I find it somewhat cryptic, and not immediate apparent how to do what i want.
Is there any way to do this with the SendMessage commands? If not, I will just use your method. Thanks again!
-
Sorry I don't know.
I've just created an OSD menu that lists may top 5 favourite smartlists and mjextman.exe works a treat.
-
hi, you can use the command "MCC_PLAY_PLAYLIST" nr 30008 and the IPARAM should be the internal playlist ID. You get this ID when you edit a playlist (by typing) based on a playlist 8)
//Lasse Lus
-
Yes - it's easy!
As an example to play the smartlist in the tree under Playlists\my smartlist execute mjextman.exe with the parameter:
/Play TREEPATH=Playlists\my smartlist
Note that this does not replace the current contents of playing now so you may want to create a mutigroup consisting of:
mjextman.exe /Clear
wait (give it around 600 ms)
the above.
This information is available from the dev zone link at the top of the forum under command line parameters.
You can use the parameter /PlayReplace TREEPATH=... to clear the existing PN without resorting to a multigroup. The documentation is a bit out-of-date... :)
Best,
Brad
-
Can someone explain in more detail the process by which one finds the PlayListID?
Thanks.
-
Sure (I think)....
1. Create a New Smartlist
2. Add a Playlist rule to it for the playlist whose ID you want to find.
3. Highlight the newly-created rule (eg. "Playlist: Folk")
4. Use <ctrl>-C to copy the rule
5. Paste the rule into Notepad or something like it (you may be able to paste it back into the search/playlist rule entry box).
6. You should see something like: playlistid==884535752
I believe that will be the ID you are looking for.
Good luck!
Brad
-
You can use the parameter /PlayReplace TREEPATH=... to clear the existing PN without resorting to a multigroup. The documentation is a bit out-of-date...
Thanks Brad. Since there is a /PlayAppend command I'd assumed that /Play was meant to replace and was therefore 'broken'.
It's a real shame that these features are added without updating the documentation. Just a one liner in the dev zone would have saved me a lot a messing around.
-
Thanks Brad. Since there is a /PlayAppend command I'd assumed that /Play was meant to replace and was therefore 'broken'.
You aren't imagining things. :) It did used to mean that. The behavior changed back in the 9.1 development cycle (build 244, I believe).
It's a real shame that these features are added without updating the documentation. Just a one liner in the dev zone would have saved me a lot a messing around.
I agree. The only bit of documentation on this change was Matt's change list when he released the build to the group. I blinked and missed it then and had to go searching for it later....
Best,
Brad