Get notifications of DMR playstate events
The /pps/services/dlna/dmcclient/dmr/playstate/ directory contains one object per DMR. The object's name is the subscribed-to DMR's UUID. When the DMR undergoes a playstate change (e.g., pause), the object's nPlayState attribute is updated.
@uuid:5df26dc6-8e42-8401-6d98-75c100b108b1 currUrl::http://192.168.1.144:9000/disk/DLNA-PNMP3-OP01-FLAGS01700000/O0$1$8I266.mp3 nPlayState::1 playIndex::0 position::11000 qLastKnownEvent::1 qRemaining::0 uuid::uuid:5df26dc6-8e42-8401-6d98-75c100b108b1 volume::2
Attribute | Data type | Description |
---|---|---|
currUrl | String | URL of media |
nPlayState | Number | Values:
|
playIndex | Number | Current track's position in the DMR play queue |
position | Number | Current playback position in the track (in ms) |
qLastKnownEvent | Number | Last play state |
qRemaining | Number | Number of tracks left to play in the DMR play queue |
uuid | String | UUID of the DMR |
volume | Number (0 - 100) | Volume level |