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)
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)
def onCreate(self): self.setTitle(_("EPG Search")) # Partnerbox if PartnerBoxIconsEnabled: EPGSelection.GetPartnerboxTimerlist(self)