From 9abe6b7f87c312154f5c300ebfe3c6c36602ebff Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Wed, 19 Mar 2014 17:45:20 +0100 Subject: [PATCH] Add mimetype for MKV videos This will make oC create previews for MKVs. Test file: http://www.auby.no/files/video_tests/h264_720p_hp_5.1_3mbps_vorbis_styled_and_unstyled_subs_suzumiya.mkv To test this just apply this change and upload the test file, if an preview is generated this change is most likely working as expecting. --- lib/private/mimetypes.list.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/private/mimetypes.list.php b/lib/private/mimetypes.list.php index a216414c9d..91bcf58426 100644 --- a/lib/private/mimetypes.list.php +++ b/lib/private/mimetypes.list.php @@ -77,6 +77,7 @@ return array( 'md' => 'text/markdown', 'mdb' => 'application/msaccess', 'mdwn' => 'text/markdown', + 'mkv' => 'video/x-matroska', 'mobi' => 'application/x-mobipocket-ebook', 'mov' => 'video/quicktime', 'mp3' => 'audio/mpeg',