INTERACT FORUM

Please login or register.

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

Author Topic: MCWS Playlist/Build Suggestion return PlaylistID in Response  (Read 2537 times)

max096

  • MC Beta Team
  • Galactic Citizen
  • *****
  • Posts: 363
MCWS Playlist/Build Suggestion return PlaylistID in Response
« on: September 27, 2020, 12:46:25 pm »

Imo, the Method Playlist/Build should return the ID of the Paylist that was created. Currently it returns a response like this

Code: [Select]
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<Response Status="OK"/>

Instead it should return the same as Playlists/Add already does
Code: [Select]
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<Response Status="OK">
<Item Name="PlaylistID">2141104553</Item>
</Response>

A method to add files to an existing playlist in bulk similar to Build would also be neat. Or possibly even a replaceContent type of method as getting things into the right order is also a bit of a hassle. But I understand that you probably built that for UIs where you would drag a song from A to B.

Ofc, all these things are not required. With enough plumbing you can make everything work. It would make things easier with less network calls required, however.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42376
  • Shoes gone again!
Re: MCWS Playlist/Build Suggestion return PlaylistID in Response
« Reply #1 on: September 28, 2020, 08:38:33 am »

Good suggestion.  We'll have it in the next build.

Thanks :)
Logged
Matt Ashland, JRiver Media Center
Pages: [1]   Go Up