add .mp2 as supported filetype
[enigma2.git] / lib / python / Components / FileList.py
index 17e8435969e5c8e9fc5a798f6da78182b88a3794..e028ec3a1864c8a4c64cc50f3a548678d260c465 100644 (file)
@@ -10,9 +10,11 @@ from enigma import RT_HALIGN_LEFT, eListboxPythonMultiContent, \
 from Tools.LoadPixmap import LoadPixmap
 
 EXTENSIONS = {
+               "mp2": "music",
                "mp3": "music",
                "wav": "music",
                "ogg": "music",
+               "flac": "music",
                "jpg": "picture",
                "jpeg": "picture",
                "png": "picture",
@@ -21,7 +23,8 @@ EXTENSIONS = {
                "avi": "movie",
                "mpg": "movie",
                "mpeg": "movie",
-               "mkv": "movie"
+               "mkv": "movie",
+               "mp4": "movie"
        }
 
 def FileEntryComponent(name, absolute = None, isDir = False):