git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d3b6f2
)
fix audio selector when service doesn't support audio track selection
author
Felix Domke
<tmbinc@elitedvb.net>
Mon, 7 Aug 2006 18:48:42 +0000
(18:48 +0000)
committer
Felix Domke
<tmbinc@elitedvb.net>
Mon, 7 Aug 2006 18:48:42 +0000
(18:48 +0000)
lib/python/Screens/InfoBarGenerics.py
patch
|
blob
|
history
diff --git
a/lib/python/Screens/InfoBarGenerics.py
b/lib/python/Screens/InfoBarGenerics.py
index 9562d0b7b397f1c7c8f435c8c539dcc0c84d5847..c2d600449179cd025eb2998f3ef0e91e1ec5876d 100644
(file)
--- a/
lib/python/Screens/InfoBarGenerics.py
+++ b/
lib/python/Screens/InfoBarGenerics.py
@@
-1228,11
+1228,11
@@
class InfoBarAudioSelection:
service = self.session.nav.getCurrentService()
audio = service and service.audioTracks()
self.audioTracks = audio
- n = audio and audio.getNumberOfTracks()
+ n = audio and audio.getNumberOfTracks()
or 0
keys = [ "red", "", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0"] + [""]*n
tlist = []
print "tlist:", tlist
- if n
and n
> 0:
+ if n > 0:
self.audioChannel = service.audioChannel()
for x in range(n):