def __init__(self): Header.show(self) LoggerManager.refresh() self.init_trakt() self.init_plex() self.init() ModuleManager.initialize()
def __init__(self): Header.show(self) # Initial configuration update self.on_configuration_changed() # Initialize clients self.init_trakt() self.init_plex() self.init() # Initialize modules ModuleManager.initialize()
def __init__(self): Header.show(self) LoggerManager.refresh() self.init_trakt() self.init_plex() self.init() ModuleManager.initialize() # Construct main thread self.thread = Thread(target=self.run, name='main')
def __init__(self): Header.show(self) Main.update_config() self.init_trakt() self.init_plex() self.init() ModuleManager.initialize() # Initialize sentry error reporting self.init_raven() # Initialize logging self.init_logging()
def __init__(self): # Check for updates first (required for use in header) self.update_checker = UpdateChecker() Header.show(self) if 'nowPlaying' in Dict and type(Dict['nowPlaying']) is dict: self.cleanup() Dict.Save() else: Dict['nowPlaying'] = dict() Main.update_config() self.session_manager = SessionManager() PlexActivity.on_update_collection.subscribe(self.update_collection)
def __init__(self): self.update_checker = UpdateChecker() self.session_manager = SessionManager() Header.show(self) if 'nowPlaying' in Dict and type(Dict['nowPlaying']) is dict: self.cleanup() Dict.Save() else: Dict['nowPlaying'] = dict() Main.update_config() # Initialize modules for module in self.modules: if hasattr(module, 'initialize'): log.debug("Initializing module %s", module) module.initialize()