aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorFraxinas <andreas.frisch@multimedia-labs.de>2010-05-25 13:39:16 +0200
committerFraxinas <andreas.frisch@multimedia-labs.de>2010-05-30 23:56:38 +0200
commit96a165cdc48c3bdec6e0570186fa7843975db950 (patch)
tree035ab6e94721a335b552dfe1758fbd6be420d680 /lib/python
parent276d3d52d86a1b1701b42b998dd658374431d3b8 (diff)
downloadenigma2-96a165cdc48c3bdec6e0570186fa7843975db950.tar.gz
enigma2-96a165cdc48c3bdec6e0570186fa7843975db950.zip
allow switching to stream 0
Diffstat (limited to 'lib/python')
-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()