Exemple #1
0
	def execute(self):
		writeLog("052 Blue Key Pressed")
		if config.plugins.StayUP.Epg.value:
			if not os.path.exists("/usr/bin/dbpd"):
				self.session.open(MessageBox,("Auto EPG really works only on a pure DB IMAGE"), MessageBox.TYPE_INFO)
				config.plugins.StayUP.Epg.value = False
		download(self)
Exemple #2
0
	def ExecTask(self):
		writeLog("030 Execution Called")
		self.loop.stop()
		if config.plugins.StayUP.Enabled.value:
			writeLog("035 Looking for new files...")
			download(self)
        	self.loop.start(480 * 60 * 1000, 1)
		writeLog("040 Next check in 8 hours...")