protocol.PlayerContextChangedEvent
This event message contains information relating to a context change on a player. A player can have different contexts based upon the type of content requested to play. For example radio mode if radio playback requests are made or audiofile mode etc. You will only receive these events if you have previously registered for event feedback.
Parameter | Optional | Max Allowed | DataType | Notes |
---|---|---|---|---|
pid | no | 1 | integer | player id taht change happened on |
cid | no | 1 | text | client id, that caused the context change |
from | no | 1 | enumeration | previous context before change |
to | no | 1 | enumeration | current context after change |
Example xml:
<sievnt> <playerContextChanged> <pid>432546325432</pid> <cid>10.5.0.23:2042</cid> <from>audiofile</from> <to>radio</to> </playerContextChanged> </sievnt>