aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Screens/AudioSelection.py
diff options
context:
space:
mode:
authorFraxinas <andreas.frisch@multimedia-labs.de>2010-05-25 13:39:16 +0200
committerghost <andreas.monzner@multimedia-labs.de>2010-10-06 23:29:39 +0200
commit2afff9a1e6fd80a1dce00ba861b50d72a1541f88 (patch)
tree3000e758223173224ae2edb1582872ee7b340dd8 /lib/python/Screens/AudioSelection.py
parent46fd0ceb0b4850ffa9f2f3e1efd42b914eeef748 (diff)
downloadenigma2-2afff9a1e6fd80a1dce00ba861b50d72a1541f88.tar.gz
enigma2-2afff9a1e6fd80a1dce00ba861b50d72a1541f88.zip
allow switching to stream 0
Diffstat (limited to 'lib/python/Screens/AudioSelection.py')
-rw-r--r--lib/python/Screens/AudioSelection.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/Screens/AudioSelection.py b/lib/python/Screens/AudioSelection.py
index b97c25b2..a11127cb 100644
--- a/lib/python/Screens/AudioSelection.py
+++ b/lib/python/Screens/AudioSelection.py
@@ -288,10 +288,10 @@ class AudioSelection(Screen, ConfigListScreen):
print "[keyok]", self["streams"].list, self["streams"].getCurrent()
if self.focus == FOCUS_STREAMS and self["streams"].list:
cur = self["streams"].getCurrent()
- if self.settings.menupage.getValue() == "audio" and cur[0]:
+ if self.settings.menupage.getValue() == "audio" and cur[0] is not None:
self.changeAudio(cur[2])
self.__updatedInfo()
- if self.settings.menupage.getValue() == "subtitles" and cur[0]:
+ if self.settings.menupage.getValue() == "subtitles" and cur[0] is not None:
if self.infobar.selected_subtitle == cur[0]:
self.enableSubtitle(None)
selectedidx = self["streams"].getIndex()