mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 20:01:27 +00:00
generate_preview fallback (#904)
This commit is contained in:
parent
bebad983ca
commit
9544eb91d2
|
@ -255,7 +255,11 @@ generate_preview() {
|
||||||
video) ffmpegthumbnailer -i "$3" -o "$TMPDIR/$3.png" -s 0 -q 10 >/dev/null 2>&1 ;;
|
video) ffmpegthumbnailer -i "$3" -o "$TMPDIR/$3.png" -s 0 -q 10 >/dev/null 2>&1 ;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
if [ -f "$TMPDIR/$3.png" ]; then
|
||||||
image_preview "$1" "$2" "$TMPDIR/$3.png"
|
image_preview "$1" "$2" "$TMPDIR/$3.png"
|
||||||
|
else
|
||||||
|
fifo_pager print_bin_info "$3"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
image_preview() {
|
image_preview() {
|
||||||
|
|
Loading…
Reference in a new issue