+ def __evUpdatedInfo(self):
+ currPlay = self.session.nav.getCurrentService()
+ currenttitle = currPlay.info().getInfo(iServiceInformation.sCurrentTitle)
+ totaltitles = currPlay.info().getInfo(iServiceInformation.sTotalTitles)
+ sTitle = currPlay.info().getInfoString(iServiceInformation.sTitle)
+ print "[__evUpdatedInfo] title %d of %d (%s)" % (currenttitle, totaltitles, sTitle)
+ self.readTitleInformation()
+
+ def __evDecodeError(self):
+ currPlay = self.session.nav.getCurrentService()
+ sVideoType = currPlay.info().getInfoString(iServiceInformation.sVideoType)
+ print "[__evDecodeError] video-codec %s can't be decoded by hardware" % (sVideoType)
+ self.session.open(MessageBox, _("This Dreambox can't decode %s video streams!") % sVideoType, type = MessageBox.TYPE_INFO,timeout = 20 )
+
+ def __evPluginError(self):
+ currPlay = self.session.nav.getCurrentService()
+ message = currPlay.info().getInfoString(iServiceInformation.sUser+12)
+ print "[__evPluginError]" , message
+ self.session.open(MessageBox, message, type = MessageBox.TYPE_INFO,timeout = 20 )
+