aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-07-20 19:33:14 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-07-20 19:33:14 +0000
commitc2b4ddf8b22ac38d3842695f01d95326566b5a23 (patch)
treed29efedbe7d8c5f4e702219d8e6f52892c0de7c5 /lib/python/Components
parentc852a4c77eda3c6abab6ddebc59295d9aff7d8ed (diff)
downloadenigma2-c2b4ddf8b22ac38d3842695f01d95326566b5a23.tar.gz
enigma2-c2b4ddf8b22ac38d3842695f01d95326566b5a23.zip
fix getting satellite list for tuner B when "equal to tuner A" is selected
Diffstat (limited to 'lib/python/Components')
-rw-r--r--lib/python/Components/NimManager.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/python/Components/NimManager.py b/lib/python/Components/NimManager.py
index ac81c624..4bbcaa26 100644
--- a/lib/python/Components/NimManager.py
+++ b/lib/python/Components/NimManager.py
@@ -584,6 +584,11 @@ class NimManager:
#print "self.satellites:", self.satList[config.Nims[slotid].diseqcA.value]
#print "diseqcA:", config.Nims[slotid].diseqcA.value
configMode = currentConfigSelectionElement(config.Nims[slotid].configMode)
+
+ if configMode == "equal":
+ slotid=0 #FIXME add handling for more than two tuners !!!
+ configMode = currentConfigSelectionElement(config.Nims[slotid].configMode)
+
if configMode == "simple":
if (config.Nims[slotid].diseqcMode.value <= 3):
list.append(self.satList[config.Nims[slotid].diseqcA.value])
@@ -599,6 +604,7 @@ class NimManager:
for x in self.satList:
if config.Nims[slotid].advanced.sat[x[1]].lnb.value != 0:
list.append(x)
+
return list
def getRotorSatListForNim(self, slotid):