fix
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Thu, 22 Dec 2005 22:33:24 +0000 (22:33 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Thu, 22 Dec 2005 22:33:24 +0000 (22:33 +0000)
lib/python/Screens/EpgSelection.py

index 4d288b0..efdd0f1 100644 (file)
@@ -54,10 +54,7 @@ class EPGSelection(Screen):
                if event is None:
                        return
                
-               # FIXME only works if already playing a service
-               serviceref = ServiceReference(self.session.nav.getCurrentlyPlayingServiceReference())
-               
-               newEntry = RecordTimerEntry(serviceref, *parseEvent(event))
+               newEntry = RecordTimerEntry(self.currentService, *parseEvent(event))
                self.session.openWithCallback(self.timerEditFinished, TimerEntry, newEntry)
        
        def timerEditFinished(self, answer):