fix copy&paste typos
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Wed, 22 Oct 2008 22:39:53 +0000 (22:39 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Wed, 22 Oct 2008 22:39:53 +0000 (22:39 +0000)
lib/python/Screens/InfoBarGenerics.py

index 5ff227d..aab2b64 100644 (file)
@@ -1505,7 +1505,7 @@ class InfoBarInstantRecord:
                                localendtime = localtime(ret[1])
                                print "stopping recording at", strftime("%c", localendtime)
                                if self.recording[self.selectedEntry].end != ret[1]:
                                localendtime = localtime(ret[1])
                                print "stopping recording at", strftime("%c", localendtime)
                                if self.recording[self.selectedEntry].end != ret[1]:
-                                       recording.autoincrease = False
+                                       self.recording[self.selectedEntry].autoincrease = False
                                self.recording[self.selectedEntry].end = ret[1]
                                self.session.nav.RecordTimer.timeChanged(self.recording[self.selectedEntry])
 
                                self.recording[self.selectedEntry].end = ret[1]
                                self.session.nav.RecordTimer.timeChanged(self.recording[self.selectedEntry])
 
@@ -1518,7 +1518,7 @@ class InfoBarInstantRecord:
                if value is not None:
                        print "stopping recording after", int(value), "minutes."
                        if int(value) != 0:
                if value is not None:
                        print "stopping recording after", int(value), "minutes."
                        if int(value) != 0:
-                               recording.autoincrease = False
+                               self.recording[self.selectedEntry].autoincrease = False
                        self.recording[self.selectedEntry].end = time() + 60 * int(value)
                        self.session.nav.RecordTimer.timeChanged(self.recording[self.selectedEntry])
 
                        self.recording[self.selectedEntry].end = time() + 60 * int(value)
                        self.session.nav.RecordTimer.timeChanged(self.recording[self.selectedEntry])