summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authortoonn <toonn@toonn.io>2019-11-17 19:44:36 +0100
committertoonn <toonn@toonn.io>2019-11-17 19:44:36 +0100
commitd46c2f1dd88c794223e07b9b589f93379baddd4d (patch)
tree1e96138a7f54ab6bccf1c7f8f43ecb1b8820615f /ranger
parentd5af1caf2666482017785c0170d39ddeea727fea (diff)
downloadranger-d46c2f1dd88c794223e07b9b589f93379baddd4d.tar.gz
Bring custom mime types in line with file(1)
Non-standard formats missing the `x-` prefix: flac and flv
Renamed mime types: video/mkv -> video/x-matroska
                    video/divx -> video/x-msvideo
Dropped extension: divx
Diffstat (limited to 'ranger')
-rw-r--r--ranger/data/mime.types33
1 files changed, 14 insertions, 19 deletions
diff --git a/ranger/data/mime.types b/ranger/data/mime.types
index 880f19fd..bcf28acf 100644
--- a/ranger/data/mime.types
+++ b/ranger/data/mime.types
@@ -16,27 +16,22 @@
 #
 ###############################################################################
 
-audio/ape               ape   # [1]
-audio/flac              flac  # [1]
+application/javascript  js
+
 audio/musepack          mpc mpp mp+
-audio/ogg               oga ogg spx
-audio/opus              opus  # [1][2]
+audio/ogg               oga ogg spx opus
 audio/wavpack           wv wvc
-audio/webm              weba  # [2]
+audio/webm              weba
+audio/x-ape             ape
+audio/x-flac            flac
 
-image/webp              webp  # [2]
+image/vnd.djvu          djvu
+image/webp              webp
 
-video/mkv               mkv   # [1]
-video/webm              webm  # [2]
-video/flv               flv   # [1]
-video/ogg               ogv ogm
-video/divx              div divx
+text/x-ruby             rb
 
-text/ruby               rb
-application/javascript  js
-
-application/djvu        djvu
-
-# [1]: Deviate from file(1) for `rifle` ergonomics.
-# [2]: Mozilla seems like a sensible soure to adhere to in some cases,
-#      https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Complete_list_of_MIME_types
+video/ogg               ogv ogm
+video/webm              webm
+video/x-flv             flv
+video/x-matroska        mkv
+video/x-msvideo         divx