Example #1
0
    def __init__(self, profile):
        """Takes the profile parameter e.g. "default".
        
        Can also handle sessions with "session.sessionname"
        """

        GObject.__init__(self)
        self.__profile = profile
        self.__bus = dbus.SessionBus(mainloop=DBusGMainLoop())
        self.__bus_address = ".".join((BUS_BASENAME, profile))
        self.__base_objpath = OBJ_BASENAME
        self.__base_interface = BUS_BASENAME
        self.__artist = self.__title = self.__album = ""
        self.__songname = self.__music_filename = ""
        self.__shutdown = False
        self._start_probing()
Example #2
0
 def __init__(self, *args, **kwargs):
     GObject.__init__(self, *args, **kwargs)
     
     self._connection = u1db.open(":memory:", create=True)
Example #3
0
    def __init__(self, *args, **kwargs):
        GObject.__init__(self, *args, **kwargs)

        self._connection = u1db.open(":memory:", create=True)
Example #4
0
 def __init__(self):
     GObject.__init__(self)
     Gst.Bin.__init__(self)
     #
     self.signaling = None
     self.mediasoup = None