def __init__(self): ModuleBase.__init__(self) Cacher.__init__(self) ChannelsBase.__init__(self) socket.setdefaulttimeout(float(config.plugins.seriesplugin.socket_timeout.value)) self.max_time_drift = int(config.plugins.seriesplugin.max_time_drift.value) * 60 self.name = "" self.begin = None self.end = None self.channel = "" self.ids = [] self.knownids = [] self.returnvalue = None self.search_depth = 0 self.now = time() today = datetime.today() self.actual_month = today.month self.actual_year = today.year
def __init__(self): ModuleBase.__init__(self) Cacher.__init__(self) ChannelsBase.__init__(self) Analytics.__init__(self) socket.setdefaulttimeout(5) self.max_time_drift = int( config.plugins.seriesplugin.max_time_drift.value) * 60 self.name = "" self.begin = None self.end = None self.channel = "" self.ids = [] self.knownids = [] self.returnvalue = None self.search_depth = 0 self.now = time() today = datetime.today() self.actual_month = today.month self.actual_year = today.year
def __init__(self): ModuleBase.__init__(self) # Is called on instance creation ControllerBase.UniqueCounter += 1 self.uniqueid = ControllerBase.UniqueCounter
def __init__(self): ModuleBase.__init__(self) # Is called on instance creation ServiceBase.UniqueCounter += 1 self.uniqueid = ServiceBase.UniqueCounter