protocol.RadioStatus
This structure contains useful information about the current state about a player.
Parameter | Optional | Max Allowed | DataType | Notes |
---|---|---|---|---|
pid | no | 1 | text | player id |
ctm | no | 1 | integer | current time in seconds |
pau | no | 1 | boolean | is paused: on/off |
ply | no | 1 | boolean | is song playing: on/off |
buf | no | 1 | boolean | is player buffering: on/off |
rec | no | 1 | boolean | is player reconnecting: on/off |
rstn | yes | 1 | SiRadioStation | the station being listened to |
rdtr | yes | 1 | SiRadioTrack | the 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>