本文整理汇总了Python中Screens.EpgSelection.EPGSelection.__init__方法的典型用法代码示例。如果您正苦于以下问题:Python EPGSelection.__init__方法的具体用法?Python EPGSelection.__init__怎么用?Python EPGSelection.__init__使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Screens.EpgSelection.EPGSelection
的用法示例。
在下文中一共展示了EPGSelection.__init__方法的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: __init__
# 需要导入模块: from Screens.EpgSelection import EPGSelection [as 别名]
# 或者: from Screens.EpgSelection.EPGSelection import __init__ [as 别名]
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)
示例2: __init__
# 需要导入模块: from Screens.EpgSelection import EPGSelection [as 别名]
# 或者: from Screens.EpgSelection.EPGSelection import __init__ [as 别名]
def __init__(self, session, ref, openPlugin=True):
EPGSelection.__init__(self, session, ref)
self.skinName = "EPGSelection"
self["key_yellow"].setText(_("Lookup IMDb"))
self.openPlugin = openPlugin
示例3: __init__
# 需要导入模块: from Screens.EpgSelection import EPGSelection [as 别名]
# 或者: from Screens.EpgSelection.EPGSelection import __init__ [as 别名]
def __init__(self, session, ref, openPlugin):
EPGSelection.__init__(self, session, ref)
self.skinName = ["EPGSearchEPGSelection", "EPGSelection"]
self["key_green"].text = _("Search")
self.openPlugin = openPlugin
示例4: __init__
# 需要导入模块: from Screens.EpgSelection import EPGSelection [as 别名]
# 或者: from Screens.EpgSelection.EPGSelection import __init__ [as 别名]
def __init__(self, session, ref, openPlugin):
EPGSelection.__init__(self, session, ref)
self.skinName = ["EPGSearchEPGSelection", "EPGSelection"]
self.openPlugin = openPlugin
示例5: __init__
# 需要导入模块: from Screens.EpgSelection import EPGSelection [as 别名]
# 或者: from Screens.EpgSelection.EPGSelection import __init__ [as 别名]
def __init__(self, *args):
try: EPGSelection.__init__(self, *args, EPGtype='single')
except: EPGSelection.__init__(self, *args)
self.skinName = "EPGSelection"
示例6: __init__
# 需要导入模块: from Screens.EpgSelection import EPGSelection [as 别名]
# 或者: from Screens.EpgSelection.EPGSelection import __init__ [as 别名]
def __init__(self, *args):
EPGSelection.__init__(self, *args)
self.skinName = "EPGSelection"
示例7: __init__
# 需要导入模块: from Screens.EpgSelection import EPGSelection [as 别名]
# 或者: from Screens.EpgSelection.EPGSelection import __init__ [as 别名]
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
示例8: __init__
# 需要导入模块: from Screens.EpgSelection import EPGSelection [as 别名]
# 或者: from Screens.EpgSelection.EPGSelection import __init__ [as 别名]
def __init__(self, *args):
EPGSelection.__init__(self, *args)
self.skinName = "EPGSelection"
self["key_red"].setText(_(" add AutoTimer"))
示例9: __init__
# 需要导入模块: from Screens.EpgSelection import EPGSelection [as 别名]
# 或者: from Screens.EpgSelection.EPGSelection import __init__ [as 别名]
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"
示例10: __init__
# 需要导入模块: from Screens.EpgSelection import EPGSelection [as 别名]
# 或者: from Screens.EpgSelection.EPGSelection import __init__ [as 别名]
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