def __init__(self): Monitor.__init__(self) self.kodi = KodiWrapper() self.vtm_go = VtmGo(self.kodi) self.vtm_go_auth = VtmGoAuth(self.kodi) self.update_interval = 24 * 3600 # Every 24 hours self.cache_expiry = 30 * 24 * 3600 # One month
def __init__(self): self.xbmcplayer = Player() Monitor.__init__(self) for playerid in state.PLAYER_STATES: state.PLAYER_STATES[playerid] = dict(state.PLAYSTATE) state.OLD_PLAYER_STATES[playerid] = dict(state.PLAYSTATE) LOG.info("Kodi monitor started.")
def __init__(self, callback): self.mgr = callback self.doUtils = DownloadUtils().downloadUrl self.xbmcplayer = Player() self.playqueue = self.mgr.playqueue Monitor.__init__(self) log.info("Kodi monitor started.")
def __init__(self): Monitor.__init__(self) self.update_interval = 24 * 3600 # Every 24 hours self.cache_expiry = 30 * 24 * 3600 # One month self._auth = AuthApi(kodiutils.get_setting('username'), kodiutils.get_setting('password'), kodiutils.get_tokens_path())
def __init__(self, callback): self.mgr = callback self.doUtils = downloadutils.DownloadUtils().downloadUrl self.xbmcplayer = Player() self.playqueue = self.mgr.playqueue Monitor.__init__(self) log.info("Kodi monitor started.")
def __init__(self, container, sop_url, localport, playerport): Monitor.__init__(self) self.player = SopCastPlayer() self.container = container self.localport = localport self.playerport = playerport self.sop_url = sop_url self.image = "sopcast_{0}".format(self.playerport) self.running = False
def __init__(self): ''' VRT Monitor initialisiation ''' self._resumepoints = ResumePoints() self._container = None self._playerinfo = None self._favorites = None self._apihelper = None self.init_watching_activity() Monitor.__init__(self)
def __init__(self, player): from xbmcaddon import Addon self.player = player self.last_tracked_position = None self.last_played_file = None self.asset_id = None self.duration = None self.start_tracking = False self.addon_path = 'plugin://' + Addon().getAddonInfo('id') xbmc_helper().set_addon(Addon()) xbmc_Monitor.__init__(self)
def __init__(self, engine, env, sop_url, localport, playerport): Monitor.__init__(self) self.player = SopCastPlayer() self.env = env if type(engine) == list: self.engine = engine else: self.engine = [engine] self.localport = localport self.playerport = playerport self.sop_url = sop_url self.running = False
def __init__(self, engine, env, tvbus_url, access_code, localport, playerport): Monitor.__init__(self) self.player = TvbusPlayer() self.env = env if type(engine) == list: self.engine = engine else: self.engine = [engine] self.localport = localport self.playerport = playerport self.tvbus_url = tvbus_url self.access_code = access_code self.running = False
def __init__(self): Monitor.__init__(self) self.player = GslugPlayer()
def __init__(self): Monitor.__init__(self) self.update_interval = 24 * 3600
def __init__(self): """Constructor for Monitor""" self.player = UpNextPlayer() self.api = Api() self.playback_manager = PlaybackManager() Monitor.__init__(self)
def __init__(self): self.player = MyPlayer() Monitor.__init__(self)
def __init__(self): Monitor.__init__(self)
def __init__(self): Monitor.__init__(self) self.kodi = KodiWrapper() self.vtm_go = VtmGo(self.kodi) self.update_interval = 24 * 3600 # Every 24 hours
def __init__(self): Monitor.__init__(self) self._player = PlayerMonitor() self._proxy_thread = None self.update_interval = 24 * 3600 # Every 24 hours self.cache_expiry = 30 * 24 * 3600 # One month
def __init__(self): self._closing = threading.Event() self._reboot = False Monitor.__init__(self)
def __init__(self): Monitor.__init__(self) self._restart_required = False
def __init__(self): Monitor.__init__(self) self.update_interval = 24 * 3600 # Every 24 hours self.cache_expiry = 30 * 24 * 3600 # One month