diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2007-03-21 16:30:23 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2007-03-21 16:30:23 +0000 |
| commit | 9248bf86cddef4cf3904748bcd94ddabef68f8c7 (patch) | |
| tree | d6a7db24a485a22a122b53dde6ed56ac8e1d5c70 /lib/python/Components/Sources/RadioText.py | |
| parent | 4404768ce6bb07bf2784da7806444acd462c3a33 (diff) | |
| download | enigma2-9248bf86cddef4cf3904748bcd94ddabef68f8c7.tar.gz enigma2-9248bf86cddef4cf3904748bcd94ddabef68f8c7.zip | |
more __deref__ changes
Diffstat (limited to 'lib/python/Components/Sources/RadioText.py')
| -rw-r--r-- | lib/python/Components/Sources/RadioText.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/python/Components/Sources/RadioText.py b/lib/python/Components/Sources/RadioText.py index de10ad81..21a3f1aa 100644 --- a/lib/python/Components/Sources/RadioText.py +++ b/lib/python/Components/Sources/RadioText.py @@ -3,22 +3,24 @@ from Components.Element import cached from enigma import iPlayableService from Source import Source -class RadioText(PerServiceBase, Source, object): +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 getText(self): + def getDecoder(self): service = self.navcore.getCurrentService() - return service and service.radioText() + return service and service.rdsDecoder() - radiotext = property(getText) + decoder = property(getDecoder) def gotEvent(self, what): if what in [iPlayableService.evStart, iPlayableService.evEnd]: |
