INTERACT FORUM

Please login or register.

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

Author Topic: MCWS Webservice / Playlist interrogation / strange behaviour [solved]  (Read 588 times)

Hagen

  • Recent member
  • *
  • Posts: 11

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
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41953
  • Shoes gone again!
Re: MCWS Webservice / Playlist interrogation / strange behaviour
« Reply #1 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?
Logged
Matt Ashland, JRiver Media Center

Hagen

  • Recent member
  • *
  • Posts: 11
Re: MCWS Webservice / Playlist interrogation / strange behaviour
« Reply #2 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.

Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41953
  • Shoes gone again!
Re: MCWS Webservice / Playlist interrogation / strange behaviour
« Reply #3 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
Logged
Matt Ashland, JRiver Media Center

Hagen

  • Recent member
  • *
  • Posts: 11
Re: MCWS Webservice / Playlist interrogation / strange behaviour
« Reply #4 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."/>"
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41953
  • Shoes gone again!
Re: MCWS Webservice / Playlist interrogation / strange behaviour
« Reply #5 on: January 21, 2020, 06:42:33 pm »

Delete files from Playing Now.
Logged
Matt Ashland, JRiver Media Center

Hagen

  • Recent member
  • *
  • Posts: 11
Re: MCWS Webservice / Playlist interrogation / strange behaviour
« Reply #6 on: January 22, 2020, 11:52:08 am »

Thanks, understood now.
Logged
Pages: [1]   Go Up