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
示例#3
0
	def __init__(self):
		ModuleBase.__init__(self)
		# Is called on instance creation
		ControllerBase.UniqueCounter += 1
		self.uniqueid = ControllerBase.UniqueCounter
示例#4
0
 def __init__(self):
     ModuleBase.__init__(self)
     # Is called on instance creation
     ServiceBase.UniqueCounter += 1
     self.uniqueid = ServiceBase.UniqueCounter
示例#5
0
	def __init__(self):
		ModuleBase.__init__(self)
		# Is called on instance creation
		ServiceBase.UniqueCounter += 1
		self.uniqueid = ServiceBase.UniqueCounter
	def __init__(self):
		ModuleBase.__init__(self)
		# Is called on instance creation
		ControllerBase.UniqueCounter += 1
		self.uniqueid = ControllerBase.UniqueCounter