INTERACT FORUM

Networks and Remotes => Media Network => Topic started by: cliff_g on March 06, 2012, 01:17:01 pm

Title: MCWS Search using PlayMode=Add
Post by: cliff_g on March 06, 2012, 01:17:01 pm
Hi

When I'm using the URL below:
http://localhost:52199/MCWS/v1/Files/Search?Action=mpl&PlayMode=Add&Zone=10002&ZoneType=ID&Query=[Key]=[27]

I would expect the track with a key of 27 to be added to the end of the playlist which it is, however I would not expect the track to start playing immediately - is there something I'm missing to stop this happening and just add it to the playlist?

Also is there a command to shuffle the current playlist?

Cheers
Cliff
Title: Re: MCWS Search using PlayMode=Add
Post by: Matt on March 06, 2012, 01:21:15 pm
I think you should use "Play" as your action if you're trying to play.  You would only use "MPL" as the action when you want MPL (an XML playlist) returned.
Title: Re: MCWS Search using PlayMode=Add
Post by: cliff_g on March 07, 2012, 03:22:47 am
I think you should use "Play" as your action if you're trying to play.  You would only use "MPL" as the action when you want MPL (an XML playlist) returned.

That did it, cheers Matt.

With regards to the shuffle option, I've found the MCC Core Command 10005, is this the best/preferred option, and pass through the relevant param?