protocol.AddPlaylistToPlayerResponse
This request allows you to add all tracks belonging to the supplied playlist id to the supplied player's track queue. You can either append tracks to queue or replace tracks currently in the queue.
Parameter | Optional | Max Allowed | DataType | Notes |
---|---|---|---|---|
cid | no | 1 | text | client id. used to track origin of any particular message |
id | no | unbounded | integer | player id. starts at 1 |
uid | no | 1 | user id | streaming user id |
app | no | 1 | boolean | append to or replace queue. on/off |
plid | no | 1 | playlist id | the playlist id |
Example xml:
<sireq> <cid>Mum</cid> <fn> <addPlaylistToPlayer> <id>1</id> <uid>1</uid> <app>on</app> <plid>21<plid> </addPlaylistToPlayer> </fn> </sireq>