dont ask to scan 2nd NIM when both nims have the same satellites configured
sec = eDVBSatelliteEquipmentControl.getInstance()
if sec is not None:
exclusive_satellites = sec.get_exclusive_satellites(0,1)
sec = eDVBSatelliteEquipmentControl.getInstance()
if sec is not None:
exclusive_satellites = sec.get_exclusive_satellites(0,1)
- if len(exclusive_satellites) == 0:
+ if len(exclusive_satellites) == 2:
+ idx = exclusive_satellites[0]+1
+ exclusive_nim_sats = exclusive_satellites[idx+1:idx+1+exclusive_satellites[idx]]
+ if len(exclusive_nim_sats):
+ return True
+ return False # two -C or two -T tuners
def __init__(self, session):
Screen.__init__(self, session)
def __init__(self, session):
Screen.__init__(self, session)
if (currStep == self.numSteps): # wizard finished
self.markDone()
if (currStep == self.numSteps): # wizard finished
self.markDone()
else:
self.runCode(self.wizard[currStep]["codeafter"])
if self.wizard[currStep]["nextstep"] is not None:
else:
self.runCode(self.wizard[currStep]["codeafter"])
if self.wizard[currStep]["nextstep"] is not None: