TYBA






protocol.AddToPlayerFreqGenreRequest

AddToPlayerFreqGenreRequest

This request allows you to add all tracks in the database with the most frequent genre for the supplied item id to the specified player 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
appno1booleanappend to or replace queue. on/off
itemsno1lista list of multi genre items i.e. album,playlist,composer,artist

Example xml:


  <sireq>
      <cid>Mum</cid>
      <fn>
          <addToPlayerFreqGenre>
              <id>1</id>
              <app>on</app>
              <items>
                  <arid>45435434354343</arid>
                  <arid>45435434354343</arid>
                  <alid>232322323</alid>
                  <plid>232322323</plid>
                  <cpid>5435455435</cpid>
              </items>
          </addToPlayerFreqGenre>
      </fn>
  </sireq>

 

back to index