diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-06-22 21:11:24 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-06-22 21:11:24 +0900 |
| commit | 6dde5503dfba5a97609b9400c80fc52f22060f4d (patch) | |
| tree | bd92a6eaecc0a800e2b17b70b7c170da86e76a7b | |
| parent | bfc4ccf15fa4c92fd9b7f2e1b5f9bd06e47fc224 (diff) | |
modified lf/scope
| -rwxr-xr-x | ar/.config/lf/scope | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ar/.config/lf/scope b/ar/.config/lf/scope index 27c37bc..80c34e9 100755 --- a/ar/.config/lf/scope +++ b/ar/.config/lf/scope @@ -55,8 +55,8 @@ text/* | */xml | application/json | application/java* | application/x-ndjson) ba audio/*) mediainfo "$1" || exit 1 ;; video/* | application/octet-stream | application/vnd.rn-realmedia) CACHE="$(thumb_cache "$1")" - [ ! -f "$CACHE" ] && ffmpegthumbnailer -i "$1" -o "$CACHE" -s 0 - image "$CACHE" "$2" "$3" "$4" "$5" "$1" + [ ! -f "$CACHE.jpg" ] && ffmpegthumbnailer -i "$1" -o "$CACHE.jpg" -s 0 + image "$CACHE.jpg" "$2" "$3" "$4" "$5" "$1" ;; */pdf) CACHE="$(thumb_cache "$1")" |
