def __init__(self): self.logMsg("----===## Starting PlexCompanion ##===----", 1) self.settings = settings.getSettings() # Start GDM for server/client discovery self.client = plexgdm.plexgdm() self.client.clientDetails(self.settings) self.logMsg("Registration string is: %s " % self.client.getClientDetails(), 1) threading.Thread.__init__(self)
def __init__(self): LOG.info("----===## Starting PlexCompanion ##===----") # Init Plex Companion queue # Start GDM for server/client discovery self.client = plexgdm.plexgdm() self.client.clientDetails() LOG.debug("Registration string is:\n%s", self.client.getClientDetails()) # kodi player instance self.player = player.PKC_Player() self.httpd = False self.subscription_manager = None Thread.__init__(self)
def __init__(self, callback=None): log.info("----===## Starting PlexCompanion ##===----") if callback is not None: self.mgr = callback self.settings = plexsettings.getSettings() # Start GDM for server/client discovery self.client = plexgdm.plexgdm() self.client.clientDetails(self.settings) log.debug("Registration string is: %s " % self.client.getClientDetails()) # kodi player instance self.player = player.Player() Thread.__init__(self)
def __init__(self): log.info("----===## Starting PlexCompanion ##===----") self.settings = plexsettings.getSettings() # Start GDM for server/client discovery self.client = plexgdm.plexgdm() self.client.clientDetails(self.settings) log.debug("Registration string is: %s " % self.client.getClientDetails()) # Initialize playlist/queue stuff self.playlist = playlist.Playlist('video') # kodi player instance self.player = player.Player() threading.Thread.__init__(self)
def __init__(self): self.port = int(utils.settings('companionPort')) ci = clientinfo.ClientInfo() self.clientId = ci.getDeviceId() self.deviceName = ci.getDeviceName() self.logMsg("----===## Starting PlexBMC Helper ##===----", 1) # Start GDM for server/client discovery self.client = plexgdm.plexgdm(debug=settings['gdm_debug']) self.client.clientDetails(self.clientId, # UUID self.deviceName, # clientName self.port, self.addonName, '1.0') # Version self.logMsg("Registration string is: %s " % self.client.getClientDetails(), 1) threading.Thread.__init__(self)