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 4d288b0047ec8a6fb0aab1b5cb86aa20fe520723..efdd0f1b84f9cceef90c41a4ff7f766658d063ba 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):