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 self.timer.callback.append(self.query)
21 self.timer.startLongTimer(delay)
24 self.timer.callback.remove(self.query)
28 from plugin import autotimer
30 # Ignore any exceptions
34 # Dump error to stdout
36 traceback.print_exc(file=sys.stdout)
38 self.timer.startLongTimer(config.plugins.autotimer.interval.value*3600)