コード例 #1
0
    def onCreate(self):
        self.setTitle(_("EPG Search"))
        self.currSearchATList = None

        if self.searchkwargs and self.searchkwargs.has_key("AT"):
            #show matches from SearchFilter
            l = self["list"]
            l.recalcEntrySize()
            resultlist = self.searchkwargs["AT"]
            self.currSearchATList = resultlist[:]
            if config.plugins.epgsearch.show_shortdesc.value and len(
                    resultlist):
                epgcache = eEPGCache.getInstance()
                resultlist = self.addShortDescription(epgcache, resultlist)
            l.list = resultlist
            l.l.setList(resultlist)
        elif self.searchargs:
            self.doSearchEPG(*self.searchargs)
        else:
            l = self["list"]
            l.recalcEntrySize()
            l.list = []
            l.l.setList(l.list)
        del self.searchargs
        del self.searchkwargs

        # Partnerbox
        if PartnerBoxIconsEnabled:
            EPGSelection.GetPartnerboxTimerlist(self)
コード例 #2
0
ファイル: EPGSearch.py プロジェクト: raya1111/enigma2-plugins
    def onCreate(self):
        self.setTitle(_("EPG Search"))

        if self.searchargs:
            self.searchEPG(*self.searchargs)
        else:
            l = self["list"]
            l.recalcEntrySize()
            l.list = []
            l.l.setList(l.list)
        del self.searchargs

        # Partnerbox
        if PartnerBoxIconsEnabled:
            EPGSelection.GetPartnerboxTimerlist(self)
コード例 #3
0
ファイル: EPGSearch.py プロジェクト: tzyy1970/enigma2-plugins
    def onCreate(self):
        self.setTitle(_("EPG Search"))

        # Partnerbox
        if PartnerBoxIconsEnabled:
            EPGSelection.GetPartnerboxTimerlist(self)