summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorGermainZ <germanosz@gmail.com>2014-03-09 12:54:04 +0200
committerGermainZ <germanosz@gmail.com>2014-03-09 12:54:04 +0200
commit53ccbcf35566d5873f4f42b2d0ea8c080626bd31 (patch)
tree5cdfa7703b843a85080e2901a885b3099475206c
parent085ea1e99122a032424133104fca2e76610d8b1d (diff)
downloadranger-53ccbcf35566d5873f4f42b2d0ea8c080626bd31.tar.gz
Disable video image previews by default
-rwxr-xr-xranger/data/scope.sh5
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