[Rhythmbox-devel] Dbus Interface Changed?
- From: Liron Tal <liricooli gmail com>
- To: rhythmbox-devel gnome org
- Subject: [Rhythmbox-devel] Dbus Interface Changed?
- Date: Sat, 14 Jan 2012 00:40:59 +0200
Hi Guys, I've written a nice script to sync metadata such as Ratings and Playcounts Between my Ipod and Rhythmbox.
I haven't used it in quite a while, and now while running it I get this Exception:
I'm using the "exportPlaylist" method.
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.UnknownMethod: Method "exportPlaylist" with signature "ssb" on interface "org.gnome.Rhythmbox.PlaylistManager" doesn't exist
Here's the piece of code I'm using to init a Dbus object, and the line I use to export the playlist
self.bus = dbus.SessionBus()
self.rbshellobj = self.bus.get_object('org.gnome.Rhythmbox', '/org/gnome/Rhythmbox/Shell')
self.rbshell = dbus.Interface(self.rbshellobj, 'org.gnome.Rhythmbox.Shell')
self.rbplayerobj = self.bus.get_object('org.gnome.Rhythmbox', '/org/gnome/Rhythmbox/Player')
self.rbplayer = dbus.Interface(self.rbplayerobj, 'org.gnome.Rhythmbox.Player')
self.rbplaylistmgrobj= self.bus.get_object('org.gnome.Rhythmbox', '/org/gnome/Rhythmbox/PlaylistManager')
self.rbplaylistmgr=dbus.Interface(self.rbplaylistmgrobj, 'org.gnome.Rhythmbox.PlaylistManager')
def get_rhythmbox_playlist(self, name):
self.rbplaylistmgr.exportPlaylist(name, 'file:///'+fname, True)
Any Ideas why this isn't working now ?
Regards,
Liron.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]