INTERACT FORUM

Windows => Plug-in Development => Topic started by: max096 on September 27, 2020, 12:46:25 pm

Title: MCWS Playlist/Build Suggestion return PlaylistID in Response
Post by: max096 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.
Title: Re: MCWS Playlist/Build Suggestion return PlaylistID in Response
Post by: Matt on September 28, 2020, 08:38:33 am
Good suggestion.  We'll have it in the next build.

Thanks :)