INTERACT FORUM

Windows => Plug-in Development => Topic started by: sarkonovich on September 13, 2015, 04:12:14 pm

Title: MCWS: Add track to playing now
Post by: sarkonovich on September 13, 2015, 04:12:14 pm
I've looked through the MCWS docs, but didn't see if there was a way to add a track to currently playing list? Did I just miss it?

Thanks,
Steve
Title: Re: MCWS: Add track to playing now
Post by: JimH on September 13, 2015, 04:25:36 pm
Try searching for Playmode.
Title: Re: MCWS: Add track to playing now
Post by: sarkonovich on September 13, 2015, 05:19:20 pm
Thanks for the quick reply!

I'm sure I'm being dense, this has me a bit confused.

I'm looking to add a file (or really, the results of a new query)  to what's currently playing, without stopping the music. The query format for PlayList/Files is very close to that for Files/Search. But PlayList/Files doesn't seem to take a Query= parameter.

So if I wanted to *add* the results of a query to what's currently playing, I don't see how to do that.

My apologies for being slow on this.

Title: Re: MCWS: Add track to playing now
Post by: Matt on September 13, 2015, 05:23:27 pm
The following adds my Metallica tracks to Playing Now:
http://localhost:52199/MCWS/v1/Files/Search?Action=Play&PlayMode=Add&Query=[Metallica]
Title: Re: MCWS: Add track to playing now
Post by: sarkonovich on September 13, 2015, 05:31:36 pm
Thank you!

I was stuck looking at PlayList instead of Search. This makes perfect sense.

Steve