diff options
-rwxr-xr-x | ranger/data/scope.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ranger/data/scope.sh b/ranger/data/scope.sh index eb905d99..6659b76e 100755 --- a/ranger/data/scope.sh +++ b/ranger/data/scope.sh @@ -76,9 +76,10 @@ case "$mimetype" in # Ascii-previews of images: image/*) img2txt --gamma=0.6 --width="$width" "$path" && exit 4 || exit 1;; + # Image preview for videos, disabled by default: + # video/*) + # ffmpegthumbnailer -i "$path" -o "$cached" -s 0 && exit 6 || exit 1;; # Display information about media files: - video/*) - ffmpegthumbnailer -i "$path" -o "$cached" -s 0 && exit 6 || exit 1;; video/* | audio/*) exiftool "$path" && exit 5 # Use sed to remove spaces so the output fits into the narrow window |