X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=lib%2Fpython%2FScreens%2FInfoBarGenerics.py;h=3ef0880f921cb714cc4664c18861b435024f604c;hb=ba528215fef66b50223260f79bc255339cc2448c;hp=6a148ebe23ea553b346dfbd90b0213bf445ad627;hpb=0da688aba6cca5cc5b0b4406e384fa9e3345859c;p=vuplus_dvbapp diff --git a/lib/python/Screens/InfoBarGenerics.py b/lib/python/Screens/InfoBarGenerics.py index 6a148eb..3ef0880 100755 --- a/lib/python/Screens/InfoBarGenerics.py +++ b/lib/python/Screens/InfoBarGenerics.py @@ -1859,8 +1859,11 @@ class InfoBarRedButton: #self.onReadyForAIT.remove(x) def updateInfomation(self): - self["HbbtvApplication"].setApplicationName("") - self.updateAIT() + try: + self["HbbtvApplication"].setApplicationName("") + self.updateAIT() + except Exception, ErrMsg: + pass def detectedHbbtvApplication(self): service = self.session.nav.getCurrentService() @@ -1868,7 +1871,7 @@ class InfoBarRedButton: try: for x in info.getInfoObject(iServiceInformation.sHBBTVUrl): print x - if x[0] == 1: + if x[0] in (-1, 1): self.updateAIT(x[3]) self["HbbtvApplication"].setApplicationName(x[1]) break