diff options
author | toonn <toonn@toonn.io> | 2019-12-21 21:34:00 +0100 |
---|---|---|
committer | toonn <toonn@toonn.io> | 2019-12-21 21:34:00 +0100 |
commit | 3fc1f4c47c7bc64dd75d0b26e97eb981467466cc (patch) | |
tree | 91940bacf95527f07092e35530099844e95d01b0 /ranger | |
parent | 39955cdaa4de52bac931bc7ca4746a9e604a16f0 (diff) | |
parent | d46c2f1dd88c794223e07b9b589f93379baddd4d (diff) | |
download | ranger-3fc1f4c47c7bc64dd75d0b26e97eb981467466cc.tar.gz |
Merge branch 'mime-rifle'
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/data/mime.types | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/ranger/data/mime.types b/ranger/data/mime.types index abee11f6..bcf28acf 100644 --- a/ranger/data/mime.types +++ b/ranger/data/mime.types @@ -8,24 +8,30 @@ # Mimetypes are used for colorschemes and the builtin filetype detection # to execute files with the right program. # +# You can find the official list of Media Types assigned by IANA here, +# https://www.iana.org/assignments/media-types/media-types.xhtml +# We deviate from these in certain cases when formats lack an official type +# or the type is too generic, application/* for a video format for example. +# In such cases we try to adhere to what file(1) returns. +# ############################################################################### -audio/flac flac +application/javascript js + audio/musepack mpc mpp mp+ audio/ogg oga ogg spx opus audio/wavpack wv wvc audio/webm weba audio/x-ape ape +audio/x-flac flac +image/vnd.djvu djvu image/webp webp -video/mkv mkv -video/webm webm -video/flash flv -video/ogg ogv ogm -video/divx div divx - text/x-ruby rb -application/javascript js -application/djvu djvu +video/ogg ogv ogm +video/webm webm +video/x-flv flv +video/x-matroska mkv +video/x-msvideo divx |