SID = 14
FRAMERATE = 15
TRANSFERBPS = 16
-
+ HAS_HBBTV = 17
def __init__(self, type):
Converter.__init__(self, type)
"Sid": (self.SID, (iPlayableService.evUpdatedInfo,)),
"Framerate": (self.FRAMERATE, (iPlayableService.evVideoSizeChanged,iPlayableService.evUpdatedInfo,)),
"TransferBPS": (self.TRANSFERBPS, (iPlayableService.evUpdatedInfo,)),
+ "HasHBBTV": (self.HAS_HBBTV, (iPlayableService.evUpdatedInfo,iPlayableService.evHBBTVInfo,)),
}[type]
def getServiceInfoString(self, info, what, convert = lambda x: "%d" % x):
while idx < n:
i = audio.getTrackInfo(idx)
description = i.getDescription();
- if "AC3" in description or "DTS" in description:
+ if "AC3" in description or "DTS" in description or "Dolby Digital" in description:
return True
idx += 1
return False
elif self.type == self.SUBSERVICES_AVAILABLE:
subservices = service.subServices()
return subservices and subservices.getNumberOfSubservices() > 0
+ elif self.type == self.HAS_HBBTV:
+ return info.getInfoString(iServiceInformation.sHBBTVUrl) != ""
+
boolean = property(getBoolean)