aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/NimManager.py
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2008-11-08 01:01:18 +0100
committerghost <andreas.monzner@multimedia-labs.de>2008-11-08 01:01:18 +0100
commitae5651346d0b371a89287365003466fef729b72a (patch)
tree714d1e087fbd02df4e1d80a870d96ac176971cf9 /lib/python/Components/NimManager.py
parentd3a03446578d5cf77ea3f2128aa3aeee434a23b8 (diff)
downloadenigma2-ae5651346d0b371a89287365003466fef729b72a.tar.gz
enigma2-ae5651346d0b371a89287365003466fef729b72a.zip
add possibility to select "second cable of motorized LNB" also when the rotor is configured in advanced mode
Diffstat (limited to 'lib/python/Components/NimManager.py')
-rw-r--r--lib/python/Components/NimManager.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/python/Components/NimManager.py b/lib/python/Components/NimManager.py
index 3c1fe455..32fca47f 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: