protocol.CreatePlaylistRequest
This request allows you create a new playlist and optionally add items to it at the same time. This class may be phased out some time in the future as a new class exists that requires that the message contains the read only property indicated to the server that this playlist should not be modified
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 |
items | yes | 1 | list | a list of track,genre,album,playlist and/or artist id's |
Example xml:
<sireq> <cid>Mum</cid> <fn> <createPlaylist> <nm>Dells chill out tunes</nm> <items> <arid>45435434354343</arid> <trid>12121212121</trid> <trid>12121212121</trid> <alid>232322323</alid> </items> </createPlaylist> </fn> </sireq>