when adding a manual timer, don't propose the original name/description.
authorFelix Domke <tmbinc@elitedvb.net>
Tue, 31 Oct 2006 01:18:33 +0000 (01:18 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Tue, 31 Oct 2006 01:18:33 +0000 (01:18 +0000)
lib/python/Screens/TimerEdit.py

index 681d3a2..dbf3f1b 100644 (file)
@@ -139,9 +139,9 @@ class TimerEditList(Screen):
                serviceref = ServiceReference(self.session.nav.getCurrentlyPlayingServiceReference())
                
                if event is None:       
                serviceref = ServiceReference(self.session.nav.getCurrentlyPlayingServiceReference())
                
                if event is None:       
-                       data = (int(time()), int(time() + 60), "unknown event", "", None)
+                       data = (int(time()), int(time() + 60), "", "", None)
                else:
                else:
-                       data = parseEvent(event)
+                       data = parseEvent(event, description = False)
 
                self.addTimer(RecordTimerEntry(serviceref, checkOldTimers = True, *data))
                
 
                self.addTimer(RecordTimerEntry(serviceref, checkOldTimers = True, *data))