From: Andreas Oberritter Date: Tue, 12 Apr 2011 13:06:59 +0000 (+0200) Subject: Scanner.py: Add MIME types for mka and mkv (Patch by Stephan Reichholf) X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/8ea52b04edc7f04d2c5d8a05156cbe0810f03612 Scanner.py: Add MIME types for mka and mkv (Patch by Stephan Reichholf) --- diff --git a/lib/python/Components/Scanner.py b/lib/python/Components/Scanner.py index 813c09f8..e01c61fd 100644 --- a/lib/python/Components/Scanner.py +++ b/lib/python/Components/Scanner.py @@ -11,6 +11,8 @@ add_type("application/x-dream-package", ".dmpkg") add_type("application/x-dream-image", ".nfi") add_type("video/MP2T", ".ts") add_type("video/x-dvd-iso", ".iso") +add_type("video/x-matroska", ".mkv") +add_type("audio/x-matroska", ".mka") def getType(file): (type, _) = guess_type(file)