self.l.setList(self.list)
self.l.setFont(0, gFont("Regular", 23))
- def GUIcreate(self, parent):
- self.instance = eListbox(parent)
+ GUI_WIDGET = eListbox
+
+ def postWidgetCreate(self, instance):
self.instance.setContent(self.l)
self.instance.setItemHeight(25)
- def GUIdelete(self):
- self.instance.setContent(None)
- self.instance = None
-
class ServiceInfo(Screen):
def __init__(self, session):
Screen.__init__(self, session)
if service is not None:
self.info = service.info()
self.feinfo = service.frontendStatusInfo()
- print self.info.getInfoObject(iServiceInformation.sVideoPID);
+ print self.info.getInfoObject(iServiceInformation.sCAIDs);
else:
self.info = None
("CodeRateLP", frontendData["code_rate_lp"], TYPE_TEXT),
("CodeRateHP", frontendData["code_rate_hp"], TYPE_TEXT),
("Constellation", frontendData["constellation"], TYPE_TEXT),
- ("Orbital position", frontendData["orbital_position"], TYPE_VALUE_DEC),
("Transmission Mode", frontendData["transmission_mode"], TYPE_TEXT),
("Guard Interval", frontendData["guard_interval"], TYPE_TEXT),
("Hierarchy Inform.", frontendData["hierarchy_information"], TYPE_TEXT),