After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 755089 - gnome-music does not update MPRIS properties on playback completion
gnome-music does not update MPRIS properties on playback completion
Status: RESOLVED FIXED
Product: gnome-music
Classification: Applications
Component: general
3.16.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-music-maint
gnome-music-maint
Depends on:
Blocks:
 
 
Reported: 2015-09-16 06:24 UTC by Michael Gratton
Modified: 2016-04-11 11:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
player: emit playback-status-changed after playlist ends (734 bytes, patch)
2016-04-08 15:52 UTC, Gaurav Narula
committed Details | Review

Description Michael Gratton 2015-09-16 06:24:59 UTC
When finishing playing an album, gnome-music does not emit a DBus PropertiesChanged event for the PlaybackStatus property of the org.mpris.MediaPlayer2.Player interface. This makes it impossible for clients to know when playback has stopped without polling/sending extra property queries, etc.

The PlaybackStatus property does seem to be updated - querying it afterwards shows its value set to "Stopped".
Comment 1 Gaurav Narula 2016-04-08 15:52:21 UTC
Created attachment 325597 [details] [review]
player: emit playback-status-changed after playlist ends
Comment 2 Felipe Borges 2016-04-11 11:02:41 UTC
Review of attachment 325597 [details] [review]:

Sure!
Comment 3 Felipe Borges 2016-04-11 11:04:02 UTC
Thanks for your patch!

Attachment 325597 [details] pushed as defd1fd - player: emit playback-status-changed after playlist ends