aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/Sources
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2006-07-10 16:22:44 +0000
committerFelix Domke <tmbinc@elitedvb.net>2006-07-10 16:22:44 +0000
commit834bbf9162cfd90cd063e25aa45fc3c28fdee742 (patch)
treed2ce49248f58112bb5c7f831363bbef499c2c113 /lib/python/Components/Sources
parentd96b342b280c03eed23f4998924aea4c0869ae1d (diff)
downloadenigma2-834bbf9162cfd90cd063e25aa45fc3c28fdee742.tar.gz
enigma2-834bbf9162cfd90cd063e25aa45fc3c28fdee742.zip
generate 'changed'-events with event argument
Diffstat (limited to 'lib/python/Components/Sources')
-rw-r--r--lib/python/Components/Sources/CurrentService.py14
1 files changed, 9 insertions, 5 deletions
diff --git a/lib/python/Components/Sources/CurrentService.py b/lib/python/Components/Sources/CurrentService.py
index 2bd493e7..100822bc 100644
--- a/lib/python/Components/Sources/CurrentService.py
+++ b/lib/python/Components/Sources/CurrentService.py
@@ -7,15 +7,19 @@ class CurrentService(PerServiceBase, Source):
Source.__init__(self)
PerServiceBase.__init__(self, navcore,
{
- iPlayableService.evStart: self.changed,
- iPlayableService.evEnd: self.changed,
+ iPlayableService.evStart: self.serviceEvent,
+ iPlayableService.evEnd: self.serviceEvent,
# FIXME: we should check 'interesting_events'
# which is not always provided.
- iPlayableService.evUpdatedInfo: self.changed,
- iPlayableService.evUpdatedEventInfo: self.changed
- })
+ iPlayableService.evUpdatedInfo: self.serviceEvent,
+ iPlayableService.evUpdatedEventInfo: self.serviceEvent,
+ iPlayableService.evCuesheetChanged: self.serviceEvent
+ }, with_event=True)
self.navcore = navcore
+ def serviceEvent(self, event):
+ self.changed(event)
+
def getCurrentService(self):
return self.navcore.getCurrentService()