TYBA






protocol.RadioStatus

RadioStatus

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

ParameterOptionalMax AllowedDataTypeNotes
pidno1textplayer id
ctmno1integercurrent time in seconds
pauno1booleanis paused: on/off
plyno1booleanis song playing: on/off
bufno1booleanis player buffering: on/off
recno1booleanis player reconnecting: on/off
rstnyes1SiRadioStationthe station being listened to
rdtryes1SiRadioTrackthe current track playing.

Example xml:


  <rstat>
      <pid>432546325432</pid>
      <ctm>232</ctm>
      <pau>on</pau>
      <ply>on</ply>
      <buf>on</buf>
      <rec>off</rec>
      <rstn>
          <rdid>432546325432</rdid>
          <rdnm>1.FM - ABSOLUTE 90's RADIO</rdnm>
          <wbs>http://www.1.fm</wbs>
          <rdcv>http://www.apple.com/art.jpg</rdcv>
          <grnm>90s pop dance rock</grnm>
          <brt>64kbit/s</brt>
          <frq>44100 Hz</frq>
      </rstn>
      <rdtr>
          <trnm>Dog Days are over</trnm>
          <arnm>Florence and the Machine</arnm>
          <alnm>The Best of Florence and the Machine</alnm>
          <cv>http://www.apple.com/art.jpg</cv>
      </rdtr>
  </rstat>

 

back to index