From b1e42a36316b3f6d92c73ad22f94fa6741593e98 Mon Sep 17 00:00:00 2001 From: pirate486743186 Date: Thu, 11 Nov 2021 10:31:36 +0100 Subject: thumbnail preview for audio --- ranger/data/scope.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ranger') diff --git a/ranger/data/scope.sh b/ranger/data/scope.sh index 9b1035a8..4126f312 100755 --- a/ranger/data/scope.sh +++ b/ranger/data/scope.sh @@ -161,6 +161,12 @@ handle_image() { # ffmpegthumbnailer -i "${FILE_PATH}" -o "${IMAGE_CACHE_PATH}" -s 0 && exit 6 # exit 1;; + ## Audio + # audio/*) + # # Get embedded thumbnail + # ffmpeg -i "${FILE_PATH}" -map 0:v -map -0:V -c copy "${IMAGE_CACHE_PATH}" && exit 6 + # exit 1;; + ## PDF # application/pdf) # pdftoppm -f 1 -l 1 \ -- cgit 1.4.1-2-gfad0