diff options
Diffstat (limited to 'lib/python/Components')
| -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]: |
