add flac and mp4
authorAndreas Frisch <andreas.frisch@multimedia-labs.de>
Tue, 28 Oct 2008 18:41:21 +0000 (18:41 +0000)
committerAndreas Frisch <andreas.frisch@multimedia-labs.de>
Tue, 28 Oct 2008 18:41:21 +0000 (18:41 +0000)
lib/python/Components/FileList.py

index 17e8435..7801c55 100644 (file)
@@ -13,6 +13,7 @@ EXTENSIONS = {
                "mp3": "music",
                "wav": "music",
                "ogg": "music",
+               "flac": "music",
                "jpg": "picture",
                "jpeg": "picture",
                "png": "picture",
@@ -21,7 +22,8 @@ EXTENSIONS = {
                "avi": "movie",
                "mpg": "movie",
                "mpeg": "movie",
-               "mkv": "movie"
+               "mkv": "movie",
+               "mp4": "movie"
        }
 
 def FileEntryComponent(name, absolute = None, isDir = False):