On Sat, 15 Aug 2009 09:25:19 +0000, Sleepy Cabbage wrote: > On Fri, 14 Aug 2009 12:55:07 +0200, Diez B. Roggisch wrote: > >> Sleepy Cabbage schrieb: >>> As the title says, I'm trying to find a way to get the pause status >>> from amarok 2.1. >>> >>> I'm running kubuntu 9.04 with kde 4.2.2, python 2.6.2. >>> >>> Thanks in advance. >> >> Not at my linux-system right now, but dcop and the respective >> python-module should help. >> >> Diez > > Thanks for you reply Diez. i'm sure that kde4.2 now uses qdbus instead > of dcop and not sure whether amarok has the qdbus org.kde.amarok /Player > GetStatus as it returns the following: qdbus: I don't know how to > display an argument of type '(iiii)'
'dbus --literal org.kde.amarok /Player org.freedesktop.MediaPlayer.GetStatus' -- http://mail.python.org/mailman/listinfo/python-list