aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Screens
diff options
context:
space:
mode:
authorFraxinas <andreas.frisch@multimedia-labs.de>2010-05-27 18:48:09 +0200
committerFraxinas <andreas.frisch@multimedia-labs.de>2010-06-09 10:06:27 +0200
commit6e09f26f57500f8acfe5bcf28faa930849d457a2 (patch)
treec0e81998094a32e3beb0580bb65f6d059fc115d1 /lib/python/Screens
parent2d2dba6c413197b6b86f140a2986c15b03e62517 (diff)
downloadenigma2-6e09f26f57500f8acfe5bcf28faa930849d457a2.tar.gz
enigma2-6e09f26f57500f8acfe5bcf28faa930849d457a2.zip
more experimenting on vobsubs
Diffstat (limited to 'lib/python/Screens')
-rw-r--r--lib/python/Screens/AudioSelection.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/python/Screens/AudioSelection.py b/lib/python/Screens/AudioSelection.py
index bacc00c1..b4ee929d 100644
--- a/lib/python/Screens/AudioSelection.py
+++ b/lib/python/Screens/AudioSelection.py
@@ -46,7 +46,7 @@ class AudioSelection(Screen, ConfigListScreen):
"cancel": self.cancel,
"up": self.keyUp,
"down": self.keyDown,
- }, -3)
+ }, -2)
self.settings = ConfigSubsection()
choicelist = [(PAGE_AUDIO,_("audio tracks")), (PAGE_SUBTITLES,_("Subtitles"))]
@@ -110,6 +110,8 @@ class AudioSelection(Screen, ConfigListScreen):
streams.append((x, "", number, description, language, selected))
else:
+ conflist.append(getConfigListEntry("", self.settings.dummy))
+ self["key_green"].setBoolean(False)
streams = []
conflist.append(('',))
self["key_green"].setBoolean(False)
@@ -156,7 +158,7 @@ class AudioSelection(Screen, ConfigListScreen):
number = "%x%02x" % (x[3],x[2])
elif x[0] == 2:
- types = ("UTF-8 text","SSA / AAS",".SRT file")
+ types = (_("<unknown>"), "UTF-8 text", "SSA / AAS", ".SRT", "VOB")
description = types[x[2]]
streams.append((x, "", number, description, language, selected))
@@ -310,5 +312,4 @@ class AudioSelection(Screen, ConfigListScreen):
class SubtitleSelection(AudioSelection):
def __init__(self, session, infobar=None):
- AudioSelection.__init__(self, session, infobar, page=PAGE_SUBTITLES)
- self.skinName = ["AudioSelection"]
+ AudioSelection.__init__(self, session, infobar, PAGE_SUBTITLES)