MPRIS player properties are reported with initial values when retrieving them

Bug #1509393 reported by Simon Fels
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Confirmed
High
John McAleely
media-hub (Ubuntu)
Confirmed
High
Unassigned
media-hub (Ubuntu RTM)
Confirmed
High
Unassigned

Bug Description

While playing a music track via the music-app

$ phablet@ubuntu-phablet:~$ gdbus call -e -d core.ubuntu.media.Service -o /org/mpris/MediaPlayer2 -m org.freedesktop.DBus.Properties.GetAll 'org.mpris.MediaPlayer2.Player'
({'AudioStreamRole': <int16 2>, 'CanControl': <true>, 'CanGoNext': <false>, 'CanGoPrevious': <false>, 'CanPause': <true>, 'CanPlay': <true>, 'CanSeek': <true>, 'Duration': <int64 0>, 'Lifetime': <int16 0>, 'LoopStatus': <'None'>, 'MaximumRate': <1.0>, 'MinimumRate': <1.0>, 'Orientation': <int16 0>, 'PlaybackRate': <1.0>, 'PlaybackStatus': <'Playing'>, 'Position': <int64 0>, 'Shuffle': <false>, 'TypedLoopStatus': <int16 0>, 'TypedPlaybackStatus': <int16 0>},)

Properties Position and Duration are zero but should have a value.

With

 $ dbus-monitor --session

I see the property Position being updated as the track is being played.

Tags: bgplaylist
Changed in canonical-devices-system-image:
assignee: nobody → John McAleely (john.mcaleely)
importance: Undecided → Critical
milestone: none → ww46-2015
status: New → Confirmed
Revision history for this message
Jim Hodapp (jhodapp) wrote :

This is not critical in my opinion as it wasn't even noticed until Simon tried to manually retrieve these property values using the new bluetooth and MPRIS control integration. All other clients get these values via the *Changed signals which are definitely working at the moment.

Changed in canonical-devices-system-image:
importance: Critical → High
milestone: ww46-2015 → ww02-2016
Jim Hodapp (jhodapp)
no longer affects: media-hub
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in media-hub (Ubuntu):
status: New → Confirmed
Changed in canonical-devices-system-image:
milestone: ww02-2016 → ww08-2016
tags: added: bgplaylist
Changed in canonical-devices-system-image:
milestone: ww08-2016 → backlog
Jim Hodapp (jhodapp)
Changed in media-hub (Ubuntu RTM):
status: New → Confirmed
Changed in media-hub (Ubuntu):
importance: Undecided → High
Changed in media-hub (Ubuntu RTM):
importance: Undecided → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.