mpris:length field missing in MPRIS D-Bus interface
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
John McAleely | ||
media-hub (Ubuntu) |
Fix Released
|
High
|
Jim Hodapp | ||
media-hub (Ubuntu RTM) |
Fix Released
|
High
|
Jim Hodapp |
Bug Description
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.
{
"album-
"audio-codec": "MPEG-1 Layer 3 (MP3)",
"bitrate": "291000",
"channel-mode": "joint-stereo",
"container-
"copyright": "2011 R.E.M./Athens, L.L.C. under exclusive license to Warner Bros. Records Inc.",
"datetime": "",
"maximum-
"minimum-
"mpris:artUrl": "image:
"mpris:trackid": "/org/mpris/
"private-
"track-count": "40",
"xesam:album": "Part Lies Part Heart Part Truth Part Garbage 1982-2011",
"xesam:
"xesam:artist": "R.E.M.",
"xesam:comment": "Amazon.com Song ID: 22576321",
"xesam:composer": "",
"xesam:
"xesam:genre": "Rock",
"xesam:title": "Electrolite",
"xesam:
}
The track duration (mpris:length) is not in there.
Related branches
- Scott Sweeny (community): Approve
- PS Jenkins bot: Pending (continuous-integration) requested
- Diff: 77 lines (+20/-0)
Changed in media-hub (Ubuntu): | |
status: | New → Fix Committed |
importance: | Undecided → High |
assignee: | nobody → Jim Hodapp (jhodapp) |
Changed in media-hub (Ubuntu RTM): | |
status: | New → Fix Committed |
importance: | Undecided → High |
assignee: | nobody → Jim Hodapp (jhodapp) |
Changed in canonical-devices-system-image: | |
status: | New → Confirmed |
status: | Confirmed → Fix Committed |
importance: | Undecided → High |
assignee: | nobody → John McAleely (john.mcaleely) |
milestone: | none → 13 |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
This bug was fixed in the package media-hub 4.2.0+15.04.20160628-0ubuntu1 in https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/stable-phone-overlay
---------------
media-hub (4.2.0+15.04.20160628-0ubuntu1) vivid; urgency=medium
[ Jim Hodapp, Michael Zanetti ]
* Export the current track length per the MPRIS spec. (LP: #1596245)
-- Jim Hodapp <email address hidden> Tue, 28 Jun 2016 01:45:45 +0000