From: Andreas Monzner Date: Thu, 20 Jul 2006 19:33:14 +0000 (+0000) Subject: fix getting satellite list for tuner B when "equal to tuner A" is selected X-Git-Tag: 2.6.0~3139 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/c2b4ddf8b22ac38d3842695f01d95326566b5a23 fix getting satellite list for tuner B when "equal to tuner A" is selected --- 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):