Re: Dbus Interface Changed?

Gareth Foster <[email protected]>
Newsgroups gmane.comp.gnome.apps.rhythmbox.devel
Message-ID <[email protected]>
I've been wanting this functionality in Rhythmbox, I've had a bit of a
look at the code and raised a bug for it. Sounds like you're ahead of me
though, you might want to track your work here?

https://bugzilla.gnome.org/show_bug.cgi?id=664075



On Sat, 2012-01-14 at 00:40 +0200, Liron Tal wrote:
> 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.
> 
> _______________________________________________
> rhythmbox-devel mailing list
> [email protected]
> http://mail.gnome.org/mailman/listinfo/rhythmbox-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.