Version: (using KDE 4.3.0) OS: Linux Installed from: Gentoo Packages When trying to set up a "Use D-Bus" action to change Amarok's volume, I noticed that it referred to the relevant function as "void VolumeUp()" (instead of "void VolumeUp(int)"), and did not offer me a chance to configure its argument (the percent by which volume should be increased). Here is what the function really looks like: $ qdbus org.mpris.amarok /Player [snip] method void org.freedesktop.MediaPlayer.VolumeUp(int) [snip] Unsurprisingly, the action does not work. I am able to control other Amarok dbus functions using my remote. Versions: $ irkick -v Qt: 4.5.1 KDE: 4.3.00 (KDE 4.3.0) IRKick: 4.3.0 $ amarok -v Qt: 4.5.1 KDE: 4.3.00 (KDE 4.3.0) Amarok: 2.1.1
While investigating I noticed that this is because of a typo in amarok's dbus interface. in src/dbus/org.freedesktop.mediaplayer.xml the functions VolumeUp(), VolumeDown() and LoadThemeFile() have a property called "drection" instead of "direction" (Note the missing 'i'). I still wonder why qdbus parses this correctly...
Fixed, thank you! commit d320ce65fbaff06c5a2568c0e9d741a689d06857 Author: Edward Hades <edward.hades@gmail.com> Date: Wed Sep 2 20:27:07 2009 +0400 Fixed typo in d-bus manifest. BUG: 205729 src/dbus/org.freedesktop.MediaPlayer.player.xml | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
Works for me in Amarok 2.1.85. Thanks guys.