On Sun, Dec 13, 2009 at 10:18 PM, JavaJens <javaj...@googlemail.com> wrote: > Hi everyone, > > I cant find any Information on this and as Im really new to both Python+DBus > developing I hope you can help me. > > My Problem is that I want to set the Playcount over the Bus. > So far so good, with the Player Object I get the URI of the currently > playing song and pass it over to the Shell to setSongProperties > With getSongProperties I identified the property I need to change as > 'play-count' with dbus.String(u'play-count'): dbus.UInt32(0L, > variant_level=1) > > Then I continued with > iface.setSongProperty(uri, 'play-count', dbus.UInt32(0L, variant_level=1)) > > BUT I get: > Invalid property type guint for property file > > What do I do wrong? > Please help!
I've just fixed this in git master (commit 5de6f070). Due to the way dbus value types are mapped to glib value types, previously it wasn't possible to set play count, track number, disc number, or year using dbus. _______________________________________________ rhythmbox-devel mailing list rhythmbox-devel@gnome.org http://mail.gnome.org/mailman/listinfo/rhythmbox-devel