The UPnP control point:
CP Socket Message Recognizable Tags (continue...)
Tag | Service | Actions | Effects |
---|---|---|---|
PAUSE | AVT | Pause, GetTransportInfo | If a stream is now playing, set current state, perform the pause action and then update back the current state. Last of all, retrieve current paused song metadata for send back a response to the GUI |
PLAY | AVT | Play, GetTransportInfo | Depending on the player state:
|
SEEK | AVT | Seek | The new position after the seek event is parsed from the received message ("pos" argument) and its format is fixed (mm:ss) |
STOP | AVT | Stop, GetTransportInfo | Like in the PAUSE case, only if there's an active playing stream the current player state info is updated both before and after the stop action |
FFORWARD | AVT | Play | Update last played URI before launch a new play action; if there's no other songs to play on the queue, leave the current played URI empty |
REWIND | AVT | Play | Roll back of a single position the song queue (if it's possible), then update last played and now playing URIs and play the previous song |
QUEUE | - | - | Insert the URI parsed as an incoming message argument to the song queue of the control point (like in a "push" method) |
MUTE_UNMUTE | RC | GetMute, SetMute | Toggle player audio on/off |
VOLUME_ADJ | RC | GetVolume, SetVolume | Change current renderer volume level with the value passed as an argument in the incoming message |