INTERACT FORUM

Please login or register.

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

Author Topic: MC12.exe TREEPATH issues  (Read 3439 times)

SteveV

  • Regular Member
  • Recent member
  • *
  • Posts: 37
  • software geek
MC12.exe TREEPATH issues
« on: May 18, 2007, 07:43:47 am »

I originally posted this in the Media Center 12.0.222 thread but didn't see much for a response and wanted to confirm whether it was on the bug list.

Quote
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
Logged

SteveV

  • Regular Member
  • Recent member
  • *
  • Posts: 37
  • software geek
Re: MC12.exe TREEPATH issues
« Reply #1 on: May 20, 2007, 06:52:56 am »

Am I really the only one seeing this problem?  Any other Girder users out there want to chime in?

Steve
Logged

kennethav

  • Regular Member
  • Recent member
  • *
  • Posts: 10
  • nothing more to say...
Re: MC12.exe TREEPATH issues
« Reply #2 on: September 24, 2007, 11:13:42 pm »

>> 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?
Logged

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9133
Re: MC12.exe TREEPATH issues
« Reply #3 on: September 25, 2007, 01:21:20 am »

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. ?

SteveV

  • Regular Member
  • Recent member
  • *
  • Posts: 37
  • software geek
Re: MC12.exe TREEPATH issues
« Reply #4 on: September 25, 2007, 07:00:37 pm »

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

Code: [Select]
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

Code: [Select]
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
Logged

kennethav

  • Regular Member
  • Recent member
  • *
  • Posts: 10
  • nothing more to say...
Re: MC12.exe TREEPATH issues
« Reply #5 on: September 28, 2007, 11:28:13 am »

Marko,
Can you help us out here? Steve and I are both seeing this....
Thanks,
Ken
Logged

gappie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4580
Re: MC12.exe TREEPATH issues
« Reply #6 on: September 28, 2007, 11:46:56 am »

you could try this:
mc12.exe "/play treepath=playlists\\radiohead"
Logged

skeeterfood

  • Citizen of the Universe
  • *****
  • Posts: 779
  • We're all just food for the skeeters.
Re: MC12.exe TREEPATH issues
« Reply #7 on: September 28, 2007, 01:25:26 pm »

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
Logged

skeeterfood

  • Citizen of the Universe
  • *****
  • Posts: 779
  • We're all just food for the skeeters.
Re: MC12.exe TREEPATH issues
« Reply #8 on: September 28, 2007, 03:32:35 pm »

I spent some time today modifying the Command Line 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
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72413
  • Where did I put my teeth?
Re: MC12.exe TREEPATH issues
« Reply #9 on: September 28, 2007, 04:23:49 pm »

I spent some time today modifying the Command Line 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.
Logged

kennethav

  • Regular Member
  • Recent member
  • *
  • Posts: 10
  • nothing more to say...
Re: MC12.exe TREEPATH issues
« Reply #10 on: September 28, 2007, 06:35:39 pm »

Thanks guys -- this is a great help for me.
Ken
Logged

SteveV

  • Regular Member
  • Recent member
  • *
  • Posts: 37
  • software geek
Re: MC12.exe TREEPATH issues
« Reply #11 on: September 28, 2007, 08:26:35 pm »

Good catch.  Thanks John.

Steve
Logged
Pages: [1]   Go Up