当前位置: 首页>>代码示例>>Python>>正文


Python EpgSelection.EPGSelection类代码示例

本文整理汇总了Python中Screens.EpgSelection.EPGSelection的典型用法代码示例。如果您正苦于以下问题:Python EPGSelection类的具体用法?Python EPGSelection怎么用?Python EPGSelection使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了EPGSelection类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: onSelectionChanged

	def onSelectionChanged(self):
		self["Service"].newService(eServiceReference(str(self["list"].getCurrent()[1])))
		self["Event"].newEvent(self["list"].getCurrent()[0])
		EPGSelection.onSelectionChanged(self)
		if PartnerBoxZapRepIcons:
			if self.isTMBD:
				self["key_red"].setText(_("Choice list"))
开发者ID:68foxboris,项目名称:enigma2-plugins,代码行数:7,代码来源:EPGSearch.py

示例2: onCreate

	def onCreate(self):
		try:
			EPGSelection.onCreate(self)
			if self.event_id is not None:
				self["list"].moveToEventId(self.event_id)
		except:
			pass
开发者ID:68foxboris,项目名称:enigma2-plugins,代码行数:7,代码来源:EPGSearch.py

示例3: searchEPGAskCallback

	def searchEPGAskCallback(self, searchString, ret):
		if ret:
			if ret[1] == "setup":
				self.lastAsk = None
				self.setup()
			else:
				self.lastAsk = ret[1]
				self.startSearchEPG(searchString, ret[1])
		else:
			if self.firstSearch:
				# Don't save abandoned initial search,
				# so don't use closeScreen()
				EPGSelection.close(self)
开发者ID:beyonwiz,项目名称:enigma2-plugins,代码行数:13,代码来源:EPGSearch.py

示例4: __init__

	def __init__(self, session, service, zapFunc=None, eventid=None, bouquetChangeCB=None, serviceChangeCB=None):
		Screen.__init__(self, session)
		EPGSelection.__init__(self, session, service, zapFunc, eventid, bouquetChangeCB, serviceChangeCB)
		global EINposition
		EINposition = 0
		self.PTinit = False
		self.session = session
		EPGSelection.skinName = "EasyPG"
		self.PThour = config.plugins.EasyInfo.Primetime2.value[0]
		self.PTmin = config.plugins.EasyInfo.Primetime2.value[1]
		self["list"] = EvNewList(type = EPG_TYPE_MULTI, selChangedCB = self.onSelectionChanged, timer = session.nav.RecordTimer)
		self.skinName = "EasyPG"
		self.RefrTimer = eTimer()
		self.RefrTimer.callback.append(self.RefreshEPG)
		self["actions"] = ActionMap(["EPGSelectActions", "OkCancelActions", "NumberActions", "InfobarActions"],
			{
				"cancel": self.closeScreen,
				"ok": self.newOKFunc,
				"timerAdd": self.timerAdd,
				"yellow": self.yellowButtonPressed,
				"blue": self.blueButtonPressed,
				"info": self.infoKeyPressed,
				"red": self.newRedFunc,
				"input_date_time": self.einContextMenu,
				"nextBouquet": self.nextBouquet,
				"prevBouquet": self.prevBouquet,
				"nextService": self.PTfor,
				"prevService": self.PTback,
				"showMovies": self.enterDateTime,
				"showTv": self.zapTo,
				"showRadio": self.zapForRefr,
				"0": self.GoFirst,
				"1": self.SetPT1,
				"2": self.SetPT2,
				"3": self.SetPT3
			},-1)
开发者ID:OpenVuPlus,项目名称:dvbapp-plugin,代码行数:36,代码来源:plugin.py

示例5: closeScreen

	def closeScreen(self):
		# Save our history
		config.plugins.epgsearch.save()
		EPGSelection.close(self)
开发者ID:Dog6574,项目名称:enigma2-plugins-1,代码行数:4,代码来源:EPGSearch.py

示例6: __init__

	def __init__(self, session, ref, openPlugin):
		EPGSelection.__init__(self, session, ref)
		self.skinName = ["EPGSearchEPGSelection", "EPGSelection"]
		self.openPlugin = openPlugin
开发者ID:68foxboris,项目名称:enigma2-plugins,代码行数:4,代码来源:EPGSearch.py

示例7: __init__

	def __init__(self, *args):
		try: EPGSelection.__init__(self, *args, EPGtype='single')
		except:  EPGSelection.__init__(self, *args)
		self.skinName = "EPGSelection"
开发者ID:Mariusz1970,项目名称:enigma2-plugins-1,代码行数:4,代码来源:AutoTimerEditor.py

示例8: onSelectionChanged

	def onSelectionChanged(self):
		self["Service"].newService(eServiceReference(str(self["list"].getCurrent()[1])))
		self["Event"].newEvent(self["list"].getCurrent()[0])
		EPGSelection.onSelectionChanged(self)
开发者ID:gomble,项目名称:enigma2-plugins,代码行数:4,代码来源:EPGSearch.py

示例9: __init__

	def __init__(self, session, ref, openPlugin, eventid=None):
		EPGSelection.__init__(self, session, ref.toString(), eventid=eventid)
		self.skinName = [self.skinName, "EPGSelection"]
		self["key_green"].text = _("Search")
		self.openPlugin = openPlugin
开发者ID:beyonwiz,项目名称:enigma2-plugins,代码行数:5,代码来源:EPGSearch.py

示例10: closeScreen

	def closeScreen(self):
		# Save our history
		config.plugins.epgsearch.save()
		self.searchStartTimer.stop()
		EPGSelection.close(self)
开发者ID:beyonwiz,项目名称:enigma2-plugins,代码行数:5,代码来源:EPGSearch.py

示例11: __init__

	def __init__(self, *args):
		EPGSelection.__init__(self, *args)
		self.skinName = "EPGSelection"
		self["key_red"].setText(_(" add AutoTimer"))
开发者ID:janda82,项目名称:enigma2-plugins,代码行数:4,代码来源:AutoTimerEditor.py

示例12: __init__

 def __init__(self, session, ref):
     EPGSelection.__init__(self, session, ref)
     self.skinName = "EPGSelection"
     self.key_green_choice = EPGSelection.EMPTY
     self.key_red_choice = EPGSelection.EMPTY
     self.skinName = "EPGSelection"
开发者ID:m1ngr,项目名称:archivczsk,代码行数:6,代码来源:search.py

示例13: __init__

	def __init__(self, session, ref, eventid=None, openPlugin = True):
		EPGSelection.__init__(self, session, ref.toString(), eventid=eventid)
		self.skinName = "EPGSelection"
		self["key_green"].setText(_("Lookup"))
		self.openPlugin = openPlugin
开发者ID:mrnamingo,项目名称:enigma2-plugins,代码行数:5,代码来源:plugin.py

示例14: __init__

	def __init__(self, session, ref, openPlugin):
		EPGSelection.__init__(self, session, ref)
		self.skinName = ["EPGSearchEPGSelection", "EPGSelection"]
		self["key_green"].text = _("Search")
		self.openPlugin = openPlugin
开发者ID:Dog6574,项目名称:enigma2-plugins-1,代码行数:5,代码来源:EPGSearch.py

示例15: __init__

	def __init__(self, session, ref, openPlugin=True):
		EPGSelection.__init__(self, session, ref)
		self.skinName = "EPGSelection"
		self["key_yellow"].setText(_("Lookup IMDb"))
		self.openPlugin = openPlugin
开发者ID:MOA-2011,项目名称:enigma2-plugins,代码行数:5,代码来源:plugin.py


注:本文中的Screens.EpgSelection.EPGSelection类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。