protocol.PlayerStatusEvent
This event message contains update information when some state changes for a particular player either dynamically or if changed by someone else. You will only receive these if you have previously registered for event feedback.
Parameter | Optional | Max Allowed | DataType | Notes |
---|---|---|---|---|
end | no | 1 | boolean | did song end?: 0/1 |
SiPlayerStatus | no | 1 | SiPlayerStatus | player status. |
Example xml:
<sievnt> <playerStatus> <end>1</end> <stat> <pid>2</pid> <ctm>30</ctm> <pau>0</pau> <shf>1</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> </playerStatus> </sievnt>