#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()
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