"7": self.findPrvBqt,
"9": self.findNextBqt,
"showMovies": self.editCurTimer,
- "showTv": self.fullEPGlist
+ "showTv": self.fullEPGlist,
+ "showRadio": self.runEpgSeartch
},-2)
self.onLayoutFinish.append(self.onLayoutReady)
else:
self.session.open(MessageBox, text = _('EPGsearch is not installed!'), type = MessageBox.TYPE_ERROR)
+ def runEpgSeartch(self):
+ if epgSpresent:
+ cur = self["epg_list"+str(self.ActiveEPG)].getCurrent()
+ epg_event = cur[0]
+ epg_name = epg_event and epg_event.getEventName() or ''
+ self.session.open(EPGSearch, epg_name, False)
+ else:
+ self.session.open(MessageBox, text = _('EPGsearch is not installed!'), type = MessageBox.TYPE_ERROR)
+
class Merlin_PGd(Screen):
"down": self.down,
"downRepeated": self.down,
"showMovies": self.editCurTimer,
- "showTv": self.fullEPGlist
+ "showTv": self.fullEPGlist,
+ "showRadio": self.runEpgSeartch
},-2)
self.onLayoutFinish.append(self.onLayoutReady)
else:
self.session.open(MessageBox, text = _('EPGsearch is not installed!'), type = MessageBox.TYPE_ERROR)
+ def runEpgSeartch(self):
+ if epgSpresent:
+ cur = self["epg_list"].getCurrent()
+ epg_event = cur[0]
+ epg_name = epg_event and epg_event.getEventName() or ''
+ self.session.open(EPGSearch, epg_name, False)
+ else:
+ self.session.open(MessageBox, text = _('EPGsearch is not installed!'), type = MessageBox.TYPE_ERROR)
+
if epgSpresent: