fix getting satellite list for tuner B when "equal to tuner A" is selected
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Thu, 20 Jul 2006 19:33:14 +0000 (19:33 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Thu, 20 Jul 2006 19:33:14 +0000 (19:33 +0000)
lib/python/Components/NimManager.py

index ac81c6249a28ba1f637c79469f97ef6252ca446e..4bbcaa2696910efee64bd60d5e80a01701995480 100644 (file)
@@ -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):