Public bug reported: The track length would be useful in order to paint progress bars etc but it is missing in the returned Metadata.
a call to org.mpris.MediaPlayer2.MediaHub /org/mpris/MediaPlayer2 org.freedesktop.DBus.Properties.Get org.mpris.MediaPlayer2.Player Metadata will return the following example Metadata: { "album-disc-count": "1" "audio-codec": "MPEG-1 Layer 3 (MP3)", "bitrate": "291000", "channel-mode": "joint-stereo", "container-format": "ID3 tag", "copyright": "2011 R.E.M./Athens, L.L.C. under exclusive license to Warner Bros. Records Inc.", "datetime": "", "maximum-bitrate": "319725", "minimum-bitrate": "191712", "mpris:artUrl": "image://thumbnailer/file:///home/phablet/Music/R.E.M./Part%20Lies%20Part%20Heart%20Part%20Truth%20Part%20Garbage%201982-2011/27%20-%20Electrolite.mp3", "mpris:trackid": "/org/mpris/MediaPlayer2/Track/26", "private-id3v2-frame": "", "track-count": "40", "xesam:album": "Part Lies Part Heart Part Truth Part Garbage 1982-2011", "xesam:albumArtist": "R.E.M.", "xesam:artist": "R.E.M.", "xesam:comment": "Amazon.com Song ID: 22576321", "xesam:composer": "", "xesam:discNumber": "1", "xesam:genre": "Rock", "xesam:title": "Electrolite", "xesam:trackNumber": "27" } The track duration (mpris:length) is not in there. ** Affects: media-hub (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1596245 Title: mpris:length field missing in MPRIS D-Bus interface To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/media-hub/+bug/1596245/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs