[Bug 458657] [NEW] "Append & Play" service menu entry not working: invalid dbus call / no autostart of Amarok
Daniel Hahler
launchpad at thequod.de
Fri Oct 23 00:32:23 UTC 2009
Public bug reported:
Binary package hint: amarok
/usr/share/kde4/services/ServiceMenus/amarok_append.desktop contains:
[Desktop Action appendAndPlay]
Name=Append & Play
Icon=amarok
Exec=qdbus org.kde.amarok /PlayerList playMedia %U
This fails however:
$ qdbus org.kde.amarok /PlayerList playMedia /foo
Interface '' not available in object /PlayerList at org.kde.amarok:
org.freedesktop.DBus.Error.UnknownObject (No such object path '/PlayerList')
Instead, "/TrackList AddTrack" should get used here probably (but supports a single item only), and does not autostart Amarok [1].
The fix for now appears to be adding a script, which receives the list of items (via %U) and then calls "AddTrack" for each. Also, it could start Amarok, if it's not running and this cannot be fixed via [1].
[1] I've tried to let Amarok autostart by creating /usr/share/dbus-1/services/org.kde.amarok.service:
[D-BUS Service]
Name=org.kde.amarok
Exec=/usr/bin/amarok
But without any luck:
$ qdbus org.kde.amarok /TrackList AddTrack foo 0
Service 'org.kde.amarok' does not exist.
ProblemType: Bug
Architecture: i386
Date: Thu Oct 22 21:04:25 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: amarok 2:2.2.0-0ubuntu2
ProcEnviron:
LANGUAGE=
PATH=(custom, user)
LANG=de_DE.UTF-8
SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: amarok
Uname: Linux 2.6.31-14-generic i686
XsessionErrors: (polkit-gnome-authentication-agent-1:4923): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
** Affects: amarok (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-bug i386
--
"Append & Play" service menu entry not working: invalid dbus call / no autostart of Amarok
https://bugs.launchpad.net/bugs/458657
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to amarok in ubuntu.
More information about the kubuntu-bugs
mailing list