2 from enigma import eTimer
5 from Components.config import config
8 """Automatically Poll AutoTimer"""
14 def start(self, initial = True):
18 delay = config.plugins.autotimer.interval.value*3600
20 if self.query not in self.timer.callback:
21 self.timer.callback.append(self.query)
22 self.timer.startLongTimer(delay)
25 if self.query in self.timer.callback:
26 self.timer.callback.remove(self.query)
30 from plugin import autotimer
32 # Ignore any program errors
36 # Dump error to stdout
38 traceback.print_exc(file=sys.stdout)
40 self.timer.startLongTimer(config.plugins.autotimer.interval.value*3600)