protocol.ServicePlayerStatusEvent
This structure contains information about the state of a service player (e.g. Airplay).
Parameter | Optional | Max Allowed | DataType | Notes |
---|---|---|---|---|
pid | no | 1 | text | player id |
device | no | 1 | integer | airplay device name |
title | no | 1 | text | media title |
prog | yes | 1 | integer | progress in seconds |
len | yes | 1 | integer | total media length in seconds |
ply | no | 1 | boolean | whether playing |
Example xml:
<sievnt> <servicePlayerStatus> <pid>1</pid> <device>Oz's iPhone</device> <title>Baker Street</title> <ctm>20</ctm> <dura>210</dura> <tnum>3</tnum> <alnm>Baker Street</alnm> <arnm>Gerry Rafferty</arnm> <ply>on</ply> </servicePlayerStatus> </sievnt>