From c2b4ddf8b22ac38d3842695f01d95326566b5a23 Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Thu, 20 Jul 2006 19:33:14 +0000 Subject: fix getting satellite list for tuner B when "equal to tuner A" is selected --- lib/python/Components/NimManager.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/python/Components') 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): -- cgit v1.2.3