INTERACT FORUM

Please login or register.

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

Author Topic: MCWS Search using PlayMode=Add  (Read 1031 times)

cliff_g

  • Recent member
  • *
  • Posts: 19
MCWS Search using PlayMode=Add
« 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
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42442
  • Shoes gone again!
Re: MCWS Search using PlayMode=Add
« Reply #1 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.
Logged
Matt Ashland, JRiver Media Center

cliff_g

  • Recent member
  • *
  • Posts: 19
Re: MCWS Search using PlayMode=Add
« Reply #2 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?
Logged
Pages: [1]   Go Up