commit ebecf655e069ffbd5b1451c663524fb7b6672ee1
parent ac7a24aba988a846903f0efe0df93a6630d3875c
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Sat, 17 Oct 2020 10:54:01 +0200
opener: add mp3
Former-commit-id: ed6993c6bd0599f9e662b96582bd65c7a33f3b41
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/opener b/scripts/opener
@@ -6,6 +6,6 @@ case $(file --mime-type "$1" -bL) in
application/epub*) setsid -f ebook-viewer "$1" >/dev/null 2>&1;;
application/x-sc) sc-im "$1";;
video/*) mpvq "$@";;
- audio/*) mpv --no-audio-display --no-video --volume=50 "$1";;
+ audio/*|application/octet-stream) mpv --no-audio-display --no-video --volume=50 "$1";;
*) setsid -f open "$@" > /dev/null 2>&1;;
esac