From: ghost Date: Sat, 8 Nov 2008 00:01:18 +0000 (+0100) Subject: add possibility to select "second cable of motorized LNB" also when the rotor is... X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=commitdiff_plain;h=ae5651346d0b371a89287365003466fef729b72a add possibility to select "second cable of motorized LNB" also when the rotor is configured in advanced mode --- diff --git a/lib/python/Components/NimManager.py b/lib/python/Components/NimManager.py index 3c1fe45..32fca47 100644 --- a/lib/python/Components/NimManager.py +++ b/lib/python/Components/NimManager.py @@ -683,6 +683,13 @@ class NimManager: if lnb != 0: nimHaveRotor = True break + if not nimHaveRotor: + for sat in mode.advanced.sat.values(): + lnb_num = int(sat.lnb.value) + diseqcmode = lnb_num and mode.advanced.lnb[lnb_num].diseqcMode.value or "" + if diseqcmode == "1_2": + nimHaveRotor = True + break if nimHaveRotor: alreadyConnected = False for testnim in nimList: