Version: 1.90 (using KDE 4.1.2)
Compiler: gcc version 4.1.2 (Gentoo 4.1.2 p1.1)
Installed from: Gentoo Packages
Amarok for KDE 3.x had a dcop method called PlayPause which was very useful for example to bind a hotkey to. It allowed Play-Pause-Resume functionality all in one button (Play if not playing or paused, Pause if playing), which is usually the desired behavior for a typical Play/Pause button.
However, Amarok 2 has dbus methods Play and Pause, but no PlayPause. It's especially problematic with most multimedia keyboard which have a Play/Pause button. Someone would have to write a script to track the playback status of amarok and decide which method to call. It would be very nice to have the old PlayPause method. Thanks.
MPRIS docs specify that Pause should toggle play/pause. Should be an easy fix.
SVN commit 872418 by seb:
The MPRIS spec states that Pause should actually be a play-pause action.
M +1 -1 PlayerDBusHandler.cpp
WebSVN link: http://websvn.kde.org/?view=rev&revision=872418