use setTunerLinked for tunerlinking
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Wed, 23 Nov 2005 15:38:45 +0000 (15:38 +0000)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Wed, 23 Nov 2005 15:38:45 +0000 (15:38 +0000)
lib/python/Components/NimManager.py

index 5a18a454fa8715cec5448e2878e805b76e8bb959..061e4fb829794bda117e81147c6cca85505412de 100644 (file)
@@ -327,9 +327,11 @@ class NimManager:
                if (mode == 1): # linked
                        if (len(self.getNimListOfType(self.nimType["DVB-S"], slotid)) > 0):
                                print "Linking slot " + str(slotid) + " to " + str(nimmgr.getConfigPrefix(slotid).value)
+                               self.sec.setTunerLinked(slotid, nimmgr.getConfigPrefix(slotid).value)
                        # TODO call c++ to link nim in slot slotid with nim in slot nimmgr.getConfigPrefix(slotid).value
        def nimLinkedToChanged(self, slotid, val):
                print "Linking slot " + str(slotid) + " to " + str(val)
+               self.sec.setTunerLinked(slotid, val)
                # TODO call c++ to link nim in slot slotid with nim in slot val
        def nimDiseqcModeChanged(self, slotid, mode):
                #print "nimDiseqcModeChanged set to " + str(mode)