Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2014-03-19 20:45:20 +0400
committerLukas Reschke <lukas@statuscode.ch>2014-03-19 20:45:20 +0400
commit9abe6b7f87c312154f5c300ebfe3c6c36602ebff (patch)
tree79ab4f18e9aa54a120a0825b5fed07f722015266 /lib
parent6252c248c23661beef6484cf1ffa24db406e28ae (diff)
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.
Diffstat (limited to 'lib')
-rw-r--r--lib/private/mimetypes.list.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/mimetypes.list.php b/lib/private/mimetypes.list.php
index a216414c9dd..91bcf584267 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',