implement subservice quickzap on < > keys
[enigma2.git] / lib / python / Screens / ServiceInfo.py
index 70d12aef73e0e57b4fdcb5eb265adaf4d550a2aa..a4bb4e02a4d5f0f75cad3cbff145efbef9468ba0 100644 (file)
@@ -45,15 +45,12 @@ class ServiceInfoList(HTMLComponent, GUIComponent):
                self.l.setList(self.list)
                self.l.setFont(0, gFont("Regular", 23))
 
                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)
 
                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)
 class ServiceInfo(Screen):
        def __init__(self, session):
                Screen.__init__(self, session)
@@ -72,7 +69,7 @@ class ServiceInfo(Screen):
                if service is not None:
                        self.info = service.info()
                        self.feinfo = service.frontendStatusInfo()
                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
 
                else:
                        self.info = None
 
@@ -150,7 +147,6 @@ class ServiceInfo(Screen):
                                           ("CodeRateLP", frontendData["code_rate_lp"], TYPE_TEXT),
                                           ("CodeRateHP", frontendData["code_rate_hp"], TYPE_TEXT),
                                           ("Constellation", frontendData["constellation"], TYPE_TEXT),
                                           ("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),
                                           ("Transmission Mode", frontendData["transmission_mode"], TYPE_TEXT),
                                           ("Guard Interval", frontendData["guard_interval"], TYPE_TEXT),
                                           ("Hierarchy Inform.", frontendData["hierarchy_information"], TYPE_TEXT),