about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorpirate486743186 <okgomdjgbmoij@gmail.com>2021-11-11 10:31:36 +0100
committerGitHub <noreply@github.com>2021-11-11 10:31:36 +0100
commitb1e42a36316b3f6d92c73ad22f94fa6741593e98 (patch)
tree4a38c1a90d41aa6144762c98fb19e1f185b5b6c4
parent1de6787c1c8bf5d33ad450bc81b1a0495da71422 (diff)
downloadranger-b1e42a36316b3f6d92c73ad22f94fa6741593e98.tar.gz
thumbnail preview for audio
-rwxr-xr-xranger/data/scope.sh6
1 files changed, 6 insertions, 0 deletions
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 \