git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix linked tuners option in tuner config,
[enigma2.git]
/
lib
/
python
/
Components
/
Converter
/
RadioText.py
diff --git
a/lib/python/Components/Converter/RadioText.py
b/lib/python/Components/Converter/RadioText.py
index 77ec58ed875fdb9e634aa2d3bc2eac99b67d5558..59885c0a689602ed8d1b0f4aa6c8288421eafa58 100644
(file)
--- a/
lib/python/Components/Converter/RadioText.py
+++ b/
lib/python/Components/Converter/RadioText.py
@@
-4,12
+4,14
@@
from Components.Element import cached
class RadioText(Converter, object):
def __init__(self, type):
Converter.__init__(self, type)
class RadioText(Converter, object):
def __init__(self, type):
Converter.__init__(self, type)
+ self.type = type
@cached
def getText(self):
rt = self.source.radiotext
@cached
def getText(self):
rt = self.source.radiotext
- if rt is None:
- return "N/A"
- return rt
-
+ text = ""
+ if rt:
+ if self.type == "RadioText":
+ text = rt.getRadioText()
+ return text.decode("latin-1").encode("utf-8")
text = property(getText)
text = property(getText)