Comment 13 for bug 675280

Revision history for this message
Bruno Duyé (brunetton-gmail) wrote :

After some search, it seems that it's not a Dbus problem; as Dbus Banshee seems to be correctly called (proof of concept : the above code works correctly) :

import dbus
bus = dbus.SessionBus()
proxy = bus.get_object ("org.bansheeproject.Banshee", "/org/bansheeproject/Banshee/PlayerEngine")
engine_interface=dbus.Interface (proxy, "org.bansheeproject.Banshee.PlayerEngine")
engine_interface.SetRating (dbus.Byte (4))