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 705348 - MPRIS code should use PlayPause(), not Play()
MPRIS code should use PlayPause(), not Play()
Status: RESOLVED FIXED
Product: gnome-settings-daemon
Classification: Core
Component: media-keys
3.9.x
Other Linux
: Normal enhancement
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
3.10
Depends on:
Blocks:
 
 
Reported: 2013-08-02 12:18 UTC by Mantas Mikulėnas (grawity)
Modified: 2013-11-07 16:19 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Mantas Mikulėnas (grawity) 2013-08-02 12:18:06 UTC
I was testing the MPRISv2 support implemented in bug 697810 and noticed that when I press the "⏯" key gnome-settings-daemon calls Play() instead of PlayPause(), so there is no way to toggle playback anymore.

When using GNOME's media key handling, /all/ players I've ever used have handled the "Play" key as a play/pause toggle. But with MPRIS, most of them strictly follow the spec – Play() starts playback, PlayPause() toggles. gnome-settings-daemon should use the latter.

gnome-settings-daemon 3.9.5.r20.gf927057
Comment 1 Bastien Nocera 2013-11-07 16:19:17 UTC
Fixed for GNOME 3.10 and master.