protocol.CreatePlayerPlaylistRequest
This request allows you to create a new playlist from a particular player queue. Optionally range indices can be supplied to create a playlist from a subset of tracks in the queue. Playlists can be readonly that indicates to the server that it should not be modified and clients should not try to modify them.
Parameter | Optional | Max Allowed | DataType | Notes |
---|---|---|---|---|
cid | no | 1 | text | client id. used to track origin of any particular message |
nm | no | 1 | text | name of the new playlist to create |
id | no | 1 | integer | player id |
ro | no | 1 | boolean | is this a read only playlist |
uid | no | 1 | text | user id to bind playlist to. An empty value denotes a shared playlist |
ixs | yes | 1 | indices | start (i0) and end (i1) index inclusive |
Example xml:
<sireq> <cid>Mum</cid> <fn> <createPlayerPlaylist> <nm>Dells chill out tunes</nm> <id>1</id> <ro>1</ro> <uid></uid> <ixs> <i0>0</i0> <i1>9</i1> </ixs> </createPlayerPlaylist> </fn> </sireq>