INTERACT FORUM
More => Old Versions => Media Center 12 (Development Ended) => Topic started by: SteveV on May 18, 2007, 07:43:47 am
-
I originally posted this in the Media Center 12.0.222 thread (http://yabb.jriver.com/interact/index.php?topic=40335.msg275593#msg275593) but didn't see much for a response and wanted to confirm whether it was on the bug list.
I'm having problems loading playlists and smartlists using MC12.exe. If I launch the following command:
MC12.exe /Play TREEPATH=Playlists\Rock
the playlist will not load unless the "Playlists" tree node is selected. This seems to be a behavior change from MC11.exe where the playlist would load regardless of which tree node was selected.
Regards,
Steve
There is also another issue related to this problem. When I *am* able to load a smartlist using MC12.exe, the playlist inlcudes items that should be excluded. My "Rock" playlist for example, incorrectly has classical, jazz, christmas music, etc, playlist items. If I manually load the smartlist it is filtered properly.
I'm using Girder to automate playlist/smartlist selection and it was working very well before switching from MC11 to MC12. Any thoughts?
Thanks -- Steve
-
Am I really the only one seeing this problem? Any other Girder users out there want to chime in?
Steve
-
>> the playlist will not load unless the "Playlists" tree node is selected
I'm seeing this now as well. Anyone else? Is there a fix in the works?
-
I don't use Girder, sorry, but can say that the string works fine when passed through the windows "Run" dialogue, and also works fine when placed in my Logitech keyboard xml files so that MC launches and plays at the press of a button.
I'm not sure how girder passes the command on to MC12.exe, but, if it's any help, I had to wrap from "/play treepath=playlists/playlist" in quotes before it would work in the XML file. ?
-
I don't use Girder, sorry, but can say that the string works fine when passed through the windows "Run" dialogue, and also works fine when placed in my Logitech keyboard xml files so that MC launches and plays at the press of a button.
I'm not sure how girder passes the command on to MC12.exe, but, if it's any help, I had to wrap from "/play treepath=playlists/playlist" in quotes before it would work in the XML file. ?
Not working for me here with MC 12.0.318. And it doesn't appear to be Girder related. Try the following:
1. Create a playlist that contains a list of items that are easily identifiable: Ex. Radiohead
2. Add items to the playlist
3. Select the "Podcasts" node on the tree
4. Click Start-->Run and enter the following the run textbox
mc12.exe /play treepath=playlists/radiohead
5. Click the OK button. Note that the playlist is not added to Playing Now
6. Click Start-->Run and try wrapping the command line parameters with double quotes
mc12.exe "/play treepath=playlists/radiohead"
7. Again, note that the playlist is not added to Playing Now
But wait, it get weirder. Now try this:
Select the "Images" item in the tree pane and perform steps 4 and 5 above.
Note that the playlist is not added to Playing Now but instead the picture slideshow starts playing. As before, wrapping the command line parameters with double quotes has no effect
Lastly,
Select the "Playlists" node in the tree and perform steps 4 and 5 above.
Now, tracks are added to playing now but they seemingly have nothing to do the the playlist you created in step 1.
I'd really appreciate it if the JRiver folks could confirm that this is a problem.
Steve
-
Marko,
Can you help us out here? Steve and I are both seeing this....
Thanks,
Ken
-
you could try this:
mc12.exe "/play treepath=playlists\\radiohead"
-
you could try this:
mc12.exe "/play treepath=playlists\\radiohead"
Looks like the treepath is case sensitive and the separator is '\' not '/'.
I created a root-level playlist called Test (note the capital T) and was able to play it from anywhere within MC with:
> mc12.exe /play treepath=Playlists\Test
The following DO NOT WORK:
> mc12.exe /play treepath=playlists\Test
> mc12.exe /play treepath=Playlists\test
> mc12.exe /play treepath=Playlists/Test
It seems that any of these mistakes causes MC to add all the items in whatever was selected in the tree to Playing Now and start playing them: ie. Audio, Images, Playlists, ...
edit:
What I think is happening is that if the treepath=whatever specification does not match anything, it returns null, so you end up with:
> mc12.exe /Play
Which, will play whatever is selected..
To get around this you can leave off the /Play switch:
> mc12.exe treepath=Playlists\Test
If for some reason Playlists\Test does not exist you just end up issuing mc12.exe which will do nothing if MC is already started and may make debugging a bit easier.
-John
-
I spent some time today modifying the Command Line Parameters (http://wiki.jrmediacenter.com/index.php/The_Command_Line#Command_Parameters) page of the Wiki to make it a bit easier to read (IMHO) and more accurate. Hopefully it will help prevent problems like this in the future.
-John
-
I spent some time today modifying the Command Line Parameters (http://wiki.jrmediacenter.com/index.php/The_Command_Line#Command_Parameters) page of the Wiki to make it a bit easier to read (IMHO) and more accurate. Hopefully it will help prevent problems like this in the future.
-John
Thanks, John.
-
Thanks guys -- this is a great help for me.
Ken
-
Good catch. Thanks John.
Steve