positionerList = []
for nim in nimList[:]:
mode = self.getNimConfig(nim)
- if mode.configMode.value == "simple" and mode.diseqcMode.value == "positioner":
+ nimHaveRotor = mode.configMode.value == "simple" and mode.diseqcMode.value == "positioner"
+ if not nimHaveRotor and mode.configMode.value == "advanced":
+ for x in range(3601, 3605):
+ lnb = int(mode.advanced.sat[x].lnb.value)
+ if lnb != 0:
+ nimHaveRotor = True
+ break
+ if nimHaveRotor:
alreadyConnected = False
for testnim in nimList:
testmode = self.getNimConfig(testnim)
choices["loopthrough"] = _("loopthrough to")
nim.configMode = ConfigSelection(choices = choices, default = "nothing")
- for y in nimmgr.nim_slots:
- if y.slot == 0:
- if not y.isCompatible("DVB-S"):
- # reset to simple
- nim.configMode.value = "simple"
- nim.configMode.save()
+# for y in nimmgr.nim_slots:
+# if y.slot == 0:
+# if not y.isCompatible("DVB-S"):
+# # reset to simple
+# nim.configMode.value = "simple"
+# nim.configMode.save()
nim.diseqcMode = ConfigSelection(
choices = [