TYBA






protocol.AddToPlayerRequest2

AddToPlayerRequest2

This request allows you to add all tracks in the database that match the supplied item ids to the supplied player's track queue. You can either append tracks to queue or replace tracks currently in the queue.

ParameterOptionalMax AllowedDataTypeNotes
cidno1textclient id. used to track origin of any particular message
idnounboundedintegerplayer id. starts at 1
uidno1user iddeezer user id
appno1booleanappend to or replace queue. on/off
itemsno1lista list of track,genre,album,playlist,composer and/or artist id's

Example xml:


  <sireq>
      <cid>Mum</cid>
      <fn>
          <addToPlayer2>
              <id>1</id>
              <uid>1</uid>
              <app>on</app>
              <items>
                  <arid>45435434354343</arid>
                  <trid>12121212121</trid>
                  <trid>12121212121</trid>
                  <alid>232322323</alid>
                  <grid>232322323</grid>
                  <plid>232322323</plid>
                  <cpid>5435455435</cpid>
              </items>
          </addToPlayer2>
      </fn>
  </sireq>

 

back to index