add .nfi to filescanner for NFIFlash plugin, whitespace cleanup, change md5sum check...
[enigma2.git] / lib / python / Components / Scanner.py
index e13370b592d2e24a535e5f5b2e45a5bac6740d93..95e2e8f5679bc07f0c456d72d5f53d65107c8549 100644 (file)
@@ -24,8 +24,12 @@ def getType(file):
                        return "application/x-debian-package"
                elif ext == "ogg":
                        return "application/ogg"
+               elif ext == "flac":
+                       return "audio/x-flac"
                elif ext == "dmpkg":
                        return "application/x-dream-package"
+               elif ext == "nfi":
+                       return "application/x-dream-image"
                elif ext == "ts":
                        return "video/MP2T"
                elif ext == "iso":