more __deref__ changes
[enigma2.git] / lib / python / Components / Sources / RadioText.py
index de10ad8159227563f41e793d742c7daf7902edc6..21a3f1aab364228a92cfdde89ac0bec9ba025664 100644 (file)
@@ -3,22 +3,24 @@ from Components.Element import cached
 from enigma import iPlayableService
 from Source import Source
 
 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,
        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
                                iPlayableService.evEnd: self.gotEvent
                        }, with_event=True)
 
        @cached
-       def getText(self):
+       def getDecoder(self):
                service = self.navcore.getCurrentService()
                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]:
 
        def gotEvent(self, what):
                if what in [iPlayableService.evStart, iPlayableService.evEnd]: