TYBA






protocol.PlayerStatus

PlayerStatus

This structure contains useful information about the current state about a player.

ParameterOptionalMax AllowedDataType Notes
pidno1textplayer id
ctmno1integer current time in seconds
pauno1boolean is paused: on/off
plyno1boolean is song playing: on/off
shfno1boolean shuffle state: on/off/
repno1enumeration repeat state: off/item/all
tryes1SiTrack current mTrack.
ixno1integer current player queue position

Example xml:


  <stat>
      <pid>1</pid>
      <ctm>12</ctm>
      <pau>on</pau>
      <ply>on</ply>
      <shf>off</shf>
      <rep>item</rep>
      <tr>
          <trid>432546325432</trid>
          <trnm>Dog Days are over</trnm>
          <arnm>Florence and the Machine</arnm>
          <arid>432546325432</arid>
          <alnm>The Best of Florence and the Machine</alnm>
          <alid>432546325432</alid>
          <dura>350909</dura>
          <cv>http://www.apple.com/art.jpg</cv>
          <grid>343443344344</grid>
          <grnm>rock</grnm>
          <cpid>3434353</cpid>
          <cpnm>3434353</cpnm>
          <bpm>123</bpm>
          <brt>256 kbs</brt>
          <frq>44100 hz</frq>
          <yr>1998</yr>
          <tarid>65565665</tarid>
          <tarnm>Florence and the Machine</tarnm>
          <cve>1</cve>
          <alarid>432546325432</alarid>
          <alarnm>The Best of Florence and the Machine</alarnm>
      </tr>
      <ix>2</ix>
  </stat>

 

back to index