/pps/services/dlna/dmcclient/dmr/playstate/<dmr_uuid>

Get notifications of DMR playstate events

Publishers
dmcclient
Subscribers
mm-control; any app

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.

The object's format looks like this:
@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
         

Attributes

Attribute Data type Description
currUrl String URL of media
nPlayState Number Values:
  • 0 = stopped
  • 1 = playing
  • 2 = transitioning to another state
  • 3 = paused
  • 6 = no media present (some devices use this to indicate device is asleep)
  • -1 = unknown state
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