protocol.GetTracksByIdRequest
This request allows you to get all the tracks for the supplied media item ids. An optional indices parameter can be passed if you wish to subset the returned list if you have a limit on the number of results you can display on your user interface.
Parameter | Optional | Max Allowed | DataType | Notes |
---|---|---|---|---|
cid | no | 1 | text | client id. used to track origin of any particular message |
items | no | 1 | list | a list of track,genre,album,playlist,composer and/or artist id's |
ixs | yes | 1 | indices | start (i0) and end (i1) index inclusive |
Example xml:
<sireq> <cid>Mum</cid> <fn> <getTracksById> <items> <arid>45435434354343</arid> <trid>12121212121</trid> <trid>12121212121</trid> <alid>232322323</alid> <grid>232322323</grid> <cpid>5435455435</cpid> </items> <ixs> <i0>0</i0> <i1>9</i1> </ixs> </getTracksById> </fn> </sireq>