add MKV to mime types
This commit is contained in:
parent
4fb6f2bb27
commit
86ee6a78f5
1 changed files with 3 additions and 2 deletions
|
@ -140,8 +140,10 @@ types_map = {
|
||||||
'.cbr': ('application/vnd.comicbook-rar', 'document'),
|
'.cbr': ('application/vnd.comicbook-rar', 'document'),
|
||||||
'.cbz': ('application/vnd.comicbook+zip', 'document'),
|
'.cbz': ('application/vnd.comicbook+zip', 'document'),
|
||||||
'.lbry': ('application/x-ext-lbry', 'document'),
|
'.lbry': ('application/x-ext-lbry', 'document'),
|
||||||
|
'.m4v': ('video/m4v', 'video'),
|
||||||
'.mid': ('audio/midi', 'audio'),
|
'.mid': ('audio/midi', 'audio'),
|
||||||
'.midi': ('audio/midi', 'audio'),
|
'.midi': ('audio/midi', 'audio'),
|
||||||
|
'.mkv': ('video/x-matroska', 'video'),
|
||||||
'.mobi': ('application/x-mobipocket-ebook', 'document'),
|
'.mobi': ('application/x-mobipocket-ebook', 'document'),
|
||||||
'.pct': ('image/pict', 'image'),
|
'.pct': ('image/pict', 'image'),
|
||||||
'.pic': ('image/pict', 'image'),
|
'.pic': ('image/pict', 'image'),
|
||||||
|
@ -149,7 +151,6 @@ types_map = {
|
||||||
'.prc': ('application/x-mobipocket-ebook', 'document'),
|
'.prc': ('application/x-mobipocket-ebook', 'document'),
|
||||||
'.rtf': ('application/rtf', 'document'),
|
'.rtf': ('application/rtf', 'document'),
|
||||||
'.xul': ('text/xul', 'document'),
|
'.xul': ('text/xul', 'document'),
|
||||||
'.m4v': ('video/m4v', 'video'),
|
|
||||||
|
|
||||||
# microsoft is special and has its own 'standard'
|
# microsoft is special and has its own 'standard'
|
||||||
# https://docs.microsoft.com/en-us/windows/desktop/wmp/file-name-extensions
|
# https://docs.microsoft.com/en-us/windows/desktop/wmp/file-name-extensions
|
||||||
|
|
Loading…
Add table
Reference in a new issue