aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Plugins/Extensions
diff options
context:
space:
mode:
authorFraxinas <andreas.frisch@multimedia-labs.de>2008-12-05 21:26:45 +0100
committerFraxinas <andreas.frisch@multimedia-labs.de>2008-12-05 21:26:45 +0100
commitf840cfa8628a0943f14c30b6aa2113731a5bde69 (patch)
treeb7eb1d19ff580c145597858f84c6d9a99c4bae5b /lib/python/Plugins/Extensions
parentaeb5b72d0ce4bdaf01310117eefd99f03558112f (diff)
downloadenigma2-f840cfa8628a0943f14c30b6aa2113731a5bde69.tar.gz
enigma2-f840cfa8628a0943f14c30b6aa2113731a5bde69.zip
move audio_extensions one level up. fixes http://www.dm8000-vip.de/forum/index.php?page=Thread&postID=11626#post11626
Diffstat (limited to 'lib/python/Plugins/Extensions')
-rw-r--r--lib/python/Plugins/Extensions/MediaPlayer/plugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/Plugins/Extensions/MediaPlayer/plugin.py b/lib/python/Plugins/Extensions/MediaPlayer/plugin.py
index 545f5f23..9ab23e5f 100644
--- a/lib/python/Plugins/Extensions/MediaPlayer/plugin.py
+++ b/lib/python/Plugins/Extensions/MediaPlayer/plugin.py
@@ -805,6 +805,7 @@ class MediaPlayer(Screen, InfoBarBase, InfoBarSeek, InfoBarAudioSelection, InfoB
def playEntry(self):
if len(self.playlist.getServiceRefList()):
+ audio_extensions = (".mp2", ".mp3", ".wav", ".ogg", "flac", "m4a")
needsInfoUpdate = False
currref = self.playlist.getServiceRefList()[self.playlist.getCurrentIndex()]
if self.session.nav.getCurrentlyPlayingServiceReference() is None or currref != self.session.nav.getCurrentlyPlayingServiceReference():
@@ -818,7 +819,6 @@ class MediaPlayer(Screen, InfoBarBase, InfoBarSeek, InfoBarAudioSelection, InfoB
text = self.getIdentifier(currref)
text = ">"+text
ext = text[-4:].lower()
- audio_extensions = (".mp2", ".mp3", ".wav", ".ogg", "flac", "m4a")
# FIXME: the information if the service contains video (and we should hide our window) should com from the service instead
if ext not in audio_extensions and not self.isAudioCD: