protocol.AddTracksToPlayerRequest
This request allows you to add tracks in the database that match the supplied track ids 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 | deezer user id |
app | no | 1 | boolean | append to or replace queue. on/off |
items | no | 1 | list | a list of track id's |
Example xml:
<sireq> <cid>Mum</cid> <fn> <addTracksToPlayer> <id>1</id> <uid>1</uid> <app>on</app> <items> <trid>12121212121</trid> <trid>12121212121</trid> </items> </addTracksToPlayer> </fn> </sireq>