INTERACT FORUM

More => Old Versions => JRiver Media Center 26 for Windows => Topic started by: Hagen on January 20, 2020, 01:11:21 am

Title: MCWS Webservice / Playlist interrogation / strange behaviour [solved]
Post by: Hagen on January 20, 2020, 01:11:21 am
Hi,
If a playlist is currently being played, changing it manually (e.g. by deleting one song) has no effect on
the answer of the MWCS interrogation with "http://localhost:52199/MCWS/v1/Playback/Playlist?Zone=-1&Action=Serialize":

current behaviour: --> the old playlist sequence (before deleting the song) is still displayed.
desired behaviour: --> the interrogation response should match the currently running playlist

What do you think ?

Regards

Hagen
Title: Re: MCWS Webservice / Playlist interrogation / strange behaviour
Post by: Matt on January 21, 2020, 10:22:42 am
Playback/Playlist definitely gets the current set of files each call.  Maybe something is caching the response?
Title: Re: MCWS Webservice / Playlist interrogation / strange behaviour
Post by: Hagen on January 21, 2020, 01:19:32 pm
Hi Matt,
please see the screenshot movie I sent to you (private email) @ 0:39 sec
a song is deleted, but the MCWS response doesn't change.

Title: Re: MCWS Webservice / Playlist interrogation / strange behaviour
Post by: Matt on January 21, 2020, 02:08:16 pm
The request Playback/Playlist gets the playing playlist.  It has nothing to do with a different playlist that you're deleting from.  You might be looking for: Playlist/Files
Title: Re: MCWS Webservice / Playlist interrogation / strange behaviour
Post by: Hagen on January 21, 2020, 03:08:29 pm
Sorry for bothering again:

1) I was playing the playlist shown in the video and i was deleting one song of the playlist during run
--> I do not understand: "It has nothing to do with a different playlist that you're deleting from"

2) I was trying the example for your proposal ("playlist / files") and I got the response: "<Response Status="Failure" Information="Error retrieving files."/>"
Title: Re: MCWS Webservice / Playlist interrogation / strange behaviour
Post by: Matt on January 21, 2020, 06:42:33 pm
Delete files from Playing Now.
Title: Re: MCWS Webservice / Playlist interrogation / strange behaviour
Post by: Hagen on January 22, 2020, 11:52:08 am
Thanks, understood now.