What about asking the author Ali Polatel: https://github.com/alip
What about asking the author Ali Polatel: https://github.com/alip
Last edited by kaivalagi; December 10th, 2011 at 09:03 PM.
Same problem here.
Here's some outputs:
Code:$ conkyRhythmbox --datatype=TI ERROR: Issue calling the dbus service:org.freedesktop.DBus.Error.UnknownMethod: Method "getVolume" with signature "" on interface "org.gnome.Rhythmbox.Player" doesn't existCode:$ dbus-send --print-reply --dest=org.gnome.Rhythmbox /org/gnome/Rhythmbox org.freedesktop.DBus.Introspectable.Introspect method return sender=:1.333 -> dest=:1.342 reply_serial=2 string "<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> <node> <node name="Shell"/> </node> "Code:$ dbus-send --print-reply --dest=org.gnome.Rhythmbox /org/gnome/Rhythmbox/Player org.gnome.Rhythmbox.Player.getPlayingUri Error org.freedesktop.DBus.Error.UnknownMethod: Method "getPlayingUri" with signature "" on interface "org.gnome.Rhythmbox.Player" doesn't existCode:$ conkyRhythmbox --version conkyRhythmbox v.2.17 Rhythmbox version is 2.90.1
Yes, I have dbus plugins enabled in rhythmbox plugins list...
Last edited by StiveKnoxx; January 5th, 2012 at 11:01 AM.
Looks like they've changed the dbus methods...if someone could installed a tool called dfeet you will be able to view what is available...not much free time right now so I can't say when I will be able to review the situation and find out why things have broken.....I use MPD with Sonata these days
Code:$ dbus-send --print-reply --dest=org.gnome.Rhythmbox /org/gnome/Rhythmbox/Shell org.freedesktop.DBus.Introspectable.Introspect method return sender=:1.157 -> dest=:1.964 reply_serial=2 string "<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> <node> <interface name="org.freedesktop.DBus.Introspectable"> <method name="Introspect"> <arg name="data" direction="out" type="s"/> </method> </interface> <interface name="org.freedesktop.DBus.Properties"> <method name="Get"> <arg name="interface" direction="in" type="s"/> <arg name="propname" direction="in" type="s"/> <arg name="value" direction="out" type="v"/> </method> <method name="Set"> <arg name="interface" direction="in" type="s"/> <arg name="propname" direction="in" type="s"/> <arg name="value" direction="in" type="v"/> </method> <method name="GetAll"> <arg name="interface" direction="in" type="s"/> <arg name="props" direction="out" type="a{sv}"/> </method> </interface> <interface name="org.gnome.Rhythmbox.Shell"> <method name="notify"> <arg name="userRequested" type="b" direction="in"/> </method> <method name="clearQueue"> </method> <method name="removeFromQueue"> <arg name="uri" type="s" direction="in"/> </method> <method name="quit"> </method> <method name="addToQueue"> <arg name="uri" type="s" direction="in"/> </method> <method name="setSongProperty"> <arg name="uri" type="s" direction="in"/> <arg name="propname" type="s" direction="in"/> <arg name="value" type="v" direction="in"/> </method> <method name="getSongProperties"> <arg name="uri" type="s" direction="in"/> <arg name="arg1" type="a{sv}" direction="out"/> </method> <method name="present"> <arg name="arg0" type="u" direction="in"/> </method> <method name="getPlaylistManager"> <arg name="arg0" type="o" direction="out"/> </method> <method name="getPlayer"> <arg name="arg0" type="o" direction="out"/> </method> <method name="activateSource"> <arg name="uri" type="s" direction="in"/> <arg name="play" type="u" direction="in"/> </method> <method name="loadURI"> <arg name="arg0" type="s" direction="in"/> <arg name="arg1" type="b" direction="in"/> </method> <signal name="databaseLoadComplete"> </signal> <signal name="removableMediaScanFinished"> </signal> <signal name="visibilityChanged"> <arg type="b"/> </signal> </interface> </node> "
So there is only the org.gnome.Rhythmbox.Shell interface for use now then? No .player one which was used previously?
I'm installing Rhythmbox and d-feet to look myself, I need to see all offerings from the dbus service exposed by RB to be certain of what is going on...
edit: I am not sure what you are seeing as I have just installed RB 2.90.1 on Arch (i.e. the vanilla install untouched by Ubuntu fingers) and I can't even see the dbus interface you are pulling back or the ones the script currently works with (i.e. org.gnome.Rhythmbox.Shell and org.gnome.Rhythmbox.Player)
See the attached screenshot of what I see (i.e. org.gnome.Rhythmbox3)...
Looks like even if I was to bring the script up-to-date with what I see I would be breaking previous builds of RB working with it....I feel that this script may go the same route as the conkyDeluge one did which is nowhere, due to the continual changing of interface methods required...
What do you see on the dbus session bus for RB? That's what I would like to know...
edit2: I suggest using rhythmbox-client...
Last edited by kaivalagi; January 7th, 2012 at 01:04 PM.
Hello, I have the example config up and running and I have Rhythmbox playing and yet it is displaying only Unkown for everything and 00.00.00 for time. I have tried many songs so far.
We are 138
Perhaps this: How To - Conky/Lua, Music and Cover Art - 2 Methods for 18 Apps. One never knows.
Bookmarks