From e9185c56770e28e746fadedcabc4a3e30e671179 Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 5 Nov 2017 17:08:57 +0100 Subject: [PATCH] recognize .mkv extension as video/x-matroska mimetype --- .../kotlin/com/simplemobiletools/commons/extensions/String.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/commons/src/main/kotlin/com/simplemobiletools/commons/extensions/String.kt b/commons/src/main/kotlin/com/simplemobiletools/commons/extensions/String.kt index 3b6285e36..f2ce94576 100644 --- a/commons/src/main/kotlin/com/simplemobiletools/commons/extensions/String.kt +++ b/commons/src/main/kotlin/com/simplemobiletools/commons/extensions/String.kt @@ -367,6 +367,7 @@ fun String.getMimeTypeFromPath(): String { put("midi", "audio/mid") put("mix", "application/octet-stream") put("mk", "text/plain") + put("mkv", "video/x-matroska") put("mmf", "application/x-smaf") put("mno", "text/xml") put("mny", "application/x-msmoney")