aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/Sources/CurrentService.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Components/Sources/CurrentService.py')
-rw-r--r--lib/python/Components/Sources/CurrentService.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/python/Components/Sources/CurrentService.py b/lib/python/Components/Sources/CurrentService.py
index bec6d2dc..2bd493e7 100644
--- a/lib/python/Components/Sources/CurrentService.py
+++ b/lib/python/Components/Sources/CurrentService.py
@@ -8,15 +8,15 @@ class CurrentService(PerServiceBase, Source):
PerServiceBase.__init__(self, navcore,
{
iPlayableService.evStart: self.changed,
- iPlayableService.evEnd: self.changed
+ iPlayableService.evEnd: self.changed,
+ # FIXME: we should check 'interesting_events'
+ # which is not always provided.
+ iPlayableService.evUpdatedInfo: self.changed,
+ iPlayableService.evUpdatedEventInfo: self.changed
})
self.navcore = navcore
def getCurrentService(self):
- service = self.navcore.getCurrentService()
- return service
-
- def stopEvent(self):
- self.changed()
+ return self.navcore.getCurrentService()
service = property(getCurrentService)