From 8c5772b7d41cee9a5cc2ebbcf435c9b02e743c73 Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Thu, 22 Dec 2005 22:33:24 +0000 Subject: fix --- lib/python/Screens/EpgSelection.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'lib/python') diff --git a/lib/python/Screens/EpgSelection.py b/lib/python/Screens/EpgSelection.py index 4d288b00..efdd0f1b 100644 --- a/lib/python/Screens/EpgSelection.py +++ b/lib/python/Screens/EpgSelection.py @@ -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): -- cgit v1.2.3