aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-03-21 16:40:10 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-03-21 16:40:10 +0000
commitcfb7ccb1ee949337ebbbde784828ed46943af6eb (patch)
tree9a616c1f520bcc3474628ff6c587c80d4e8295dd /lib
parent9248bf86cddef4cf3904748bcd94ddabef68f8c7 (diff)
downloadenigma2-cfb7ccb1ee949337ebbbde784828ed46943af6eb.tar.gz
enigma2-cfb7ccb1ee949337ebbbde784828ed46943af6eb.zip
revert local change
Diffstat (limited to 'lib')
-rw-r--r--lib/python/Components/Sources/RadioText.py29
1 files changed, 0 insertions, 29 deletions
diff --git a/lib/python/Components/Sources/RadioText.py b/lib/python/Components/Sources/RadioText.py
index 21a3f1aa..e69de29b 100644
--- a/lib/python/Components/Sources/RadioText.py
+++ b/lib/python/Components/Sources/RadioText.py
@@ -1,29 +0,0 @@
-from Components.PerServiceDisplay import PerServiceBase
-from Components.Element import cached
-from enigma import iPlayableService
-from Source import Source
-
-class RdsDecoder(PerServiceBase, Source, object):
- def __init__(self, navcore):
- Source.__init__(self)
- PerServiceBase.__init__(self, navcore,
- {
- iPlayableService.evStart: self.gotEvent,
- iPlayableService.evUpdatedRadioText: self.gotEvent,
- iPlayableService.evUpdatedRtpText: self.gotEvent,
- iPlayableService.evUpdatedRassInteractivePicMask: self.gotEvent,
- iPlayableService.evEnd: self.gotEvent
- }, with_event=True)
-
- @cached
- def getDecoder(self):
- service = self.navcore.getCurrentService()
- return service and service.rdsDecoder()
-
- decoder = property(getDecoder)
-
- def gotEvent(self, what):
- if what in [iPlayableService.evStart, iPlayableService.evEnd]:
- self.changed((self.CHANGED_CLEAR,))
- else:
- self.changed((self.CHANGED_ALL,))