fix DVB-S ScanSetup
[vuplus_dvbapp] / lib / python / Screens / InfoBarGenerics.py
index 6a148eb..3ef0880 100755 (executable)
@@ -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