fix ServiceInfo for plpid, and revert unnecessary fixes.
[vuplus_dvbapp] / lib / python / Components / NimManager.py
index 4b7ef8e..be28293 100755 (executable)
@@ -913,7 +913,7 @@ class NimManager:
                        nim = config.Nims[slotid]
                        configMode = nim.configMode.value
                
-                       if self.nim_slots[slotid].isCompatible("DVB-S") or self.nim_slots[slotid].isCompatible("DVB-T") or self.nim_slots[slotid].isCompatible("DVB-C") or self.nim_slots[slotid].isCompatible("DVB-T2"):
+                       if self.nim_slots[slotid].isCompatible("DVB-S") or self.nim_slots[slotid].isCompatible("DVB-T") or self.nim_slots[slotid].isCompatible("DVB-C"):
                                return not (configMode == "nothing")            
 
        def getSatListForNim(self, slotid):
@@ -1514,20 +1514,6 @@ def InitNimManager(nimmgr):
                                n += 1
                        nim.terrestrial = ConfigSelection(choices = list)
                        nim.terrestrial_5V = ConfigOnOff()
-               elif slot.isCompatible("DVB-T2"):
-                       nim.configMode = ConfigSelection(
-                               choices = {
-                                       "enabled": _("enabled"),
-                                       "nothing": _("nothing connected"),
-                                       },
-                               default = "enabled")
-                       list = []
-                       n = 0
-                       for x in nimmgr.terrestrialsList:
-                               list.append((str(n), x[0]))
-                               n += 1
-                       nim.terrestrial = ConfigSelection(choices = list)
-                       nim.terrestrial_5V = ConfigOnOff()
                else:
                        empty_slots += 1
                        nim.configMode = ConfigSelection(choices = { "nothing": _("disabled") }, default="nothing");