aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorRonny Strutz <ronny.strutz@multimedia-labs.de>2005-11-14 22:47:18 +0000
committerRonny Strutz <ronny.strutz@multimedia-labs.de>2005-11-14 22:47:18 +0000
commitafb996e31e73607e2ef25ba679a15f15c94701e4 (patch)
tree29da18e3b0353e58fa1ad5bbf2695d1d7a83a041 /lib/python
parent4704ba4275e90ca996a71c9b7cdcdfa3735f4948 (diff)
downloadenigma2-afb996e31e73607e2ef25ba679a15f15c94701e4.tar.gz
enigma2-afb996e31e73607e2ef25ba679a15f15c94701e4.zip
add audioselection, removed democode
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Screens/InfoBar.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/python/Screens/InfoBar.py b/lib/python/Screens/InfoBar.py
index 9076942b..7e059c5c 100644
--- a/lib/python/Screens/InfoBar.py
+++ b/lib/python/Screens/InfoBar.py
@@ -16,6 +16,7 @@ from Screens.MovieSelection import MovieSelection
from Screens.Volume import Volume
from Screens.Mute import Mute
from Screens.Standby import Standby
+from Screens.AudioSelection import AudioSelection
from ServiceReference import ServiceReference
@@ -328,7 +329,5 @@ class InfoBar(Screen):
service = self.session.nav.getCurrentService()
audio = service.audioTracks()
n = audio.getNumberOfTracks()
- print "AUDIO TRACKS:"
- for x in range(n):
- i = audio.getTrackInfo(x)
- print i.getDescription()
+ if n > 0:
+ self.session.open(AudioSelection, audio)