X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=lib%2Fpython%2FComponents%2FNimManager.py;h=2a40aed5c0f2a11f6cf638d9c33ff2f9e35e4cf3;hp=ce063b498ad2315068e0630d6239d4462cfef626;hb=afa141eedd597d0468d33b97a79f738a9ebfd11f;hpb=7b7a80a1f979b0bd9c68aa33af968db25bf63f81 diff --git a/lib/python/Components/NimManager.py b/lib/python/Components/NimManager.py index ce063b4..2a40aed 100755 --- a/lib/python/Components/NimManager.py +++ b/lib/python/Components/NimManager.py @@ -59,10 +59,10 @@ class SecConfigure: sec.setLNBLOFL(9750000) sec.setLNBLOFH(10600000) sec.setLNBThreshold(11700000) - sec.setLNBIncreasedVoltage(lnbParam.OFF) + sec.setLNBIncreasedVoltage(False) sec.setRepeats(0) sec.setFastDiSEqC(fastDiSEqC) - sec.setSeqRepeat(0) + sec.setSeqRepeat(False) sec.setCommandOrder(0) #user values @@ -369,9 +369,9 @@ class SecConfigure: # pass # nyi in drivers if currLnb.increased_voltage.value: - sec.setLNBIncreasedVoltage(lnbParam.ON) + sec.setLNBIncreasedVoltage(True) else: - sec.setLNBIncreasedVoltage(lnbParam.OFF) + sec.setLNBIncreasedVoltage(False) dm = currLnb.diseqcMode.value if dm == "none": @@ -1116,7 +1116,7 @@ def InitSecParams(): # the C(++) part should can handle this # the configElement should be only visible when diseqc 1.2 is disabled -def InitNimManager(nimmgr): +def InitNimManager(nimmgr, update_slots = []): hw = HardwareInfo() addNimConfig = False try: @@ -1646,6 +1646,9 @@ def InitNimManager(nimmgr): x = slot.slot nim = config.Nims[x] + if update_slots and (x not in update_slots): + continue + if slot.isCompatible("DVB-S"): createSatConfig(nim, x, empty_slots) config_mode_choices = [ ("nothing", _("nothing connected")),