Example #1
0
 def __init__(self, *args):
     SongsMenuPlugin.__init__(self, *args)
     bus = dbus.SessionBus()
     sim = bus.get_object(
         'org.autoqueue', '/org/autoqueue/Similarity')
     self.similarity = dbus.Interface(
         sim, dbus_interface='org.autoqueue.SimilarityInterface')
Example #2
0
 def __init__(self, songs=None, library=None):
     SongsMenuPlugin.__init__(self, songs, library)
     EventPlugin.__init__(self)
Example #3
0
 def __init__(self, *args):
     SongsMenuPlugin.__init__(self, *args)
     bus = dbus.SessionBus()
     sim = bus.get_object('org.autoqueue', '/org/autoqueue/Similarity')
     self.similarity = dbus.Interface(
         sim, dbus_interface='org.autoqueue.SimilarityInterface')