Esempio n. 1
0
 def query(self):
     print "[Timezones] AutoTimer poll running"
     self.stopATupdate()
     try:
         from Plugins.Extensions.AutoTimer.plugin import autotimer, autopoller
         self.autopoller = autopoller
         self.autotimer = autotimer
         if autotimer is not None:
             print "[Timezones] AutoTimer parseEPG"
             autotimer.parseEPG(autoPoll=True)
         if autopoller is not None:
             autopoller.start()
     except ImportError, KeyError:
         pass
Esempio n. 2
0
	def query(self):
		print "[Timezones] AutoTimer poll running"
		self.stopATupdate()
		try:
			from Plugins.Extensions.AutoTimer.plugin import autotimer, autopoller
			self.autopoller = autopoller
			self.autotimer = autotimer
			if autotimer is not None:
				print "[Timezones] AutoTimer parseEPG"
				autotimer.parseEPG(autoPoll=True)
			if autopoller is not None:
				autopoller.start()
		except ImportError, KeyError:
			pass