aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ranger/data/mime.types2
-rwxr-xr-xranger/data/scope.sh5
2 files changed, 4 insertions, 3 deletions
diff --git a/ranger/data/mime.types b/ranger/data/mime.types
index c20003d3..c0cfdcdb 100644
--- a/ranger/data/mime.types
+++ b/ranger/data/mime.types
@@ -23,7 +23,7 @@ audio/ogg oga ogg spx opus
audio/wavpack wv wvc
audio/webm weba
audio/x-ape ape
-audio/x-dsdiff dsf
+audio/x-dsdiff dsf dff
audio/x-flac flac
image/vnd.djvu djvu
diff --git a/ranger/data/scope.sh b/ranger/data/scope.sh
index caa9475f..d4899597 100755
--- a/ranger/data/scope.sh
+++ b/ranger/data/scope.sh
@@ -95,8 +95,9 @@ handle_extension() {
python -m json.tool -- "${FILE_PATH}" && exit 5
;;
- ## Direct Stream Digital/Transfer (DSDIFF)
- dsf)
+ ## Direct Stream Digital/Transfer (DSDIFF) and wavpack aren't detected
+ ## by file(1).
+ dff|dsf|wv|wvc)
mediainfo "${FILE_PATH}" && exit 5
exiftool "${FILE_PATH}" && exit 5
;; # Continue with next handler on failure