view find-small-album-art @ 31:72e04923c4d4

Plot MAX load values to avoid graph length caps We store MAX when summarising. If we plot AVERAGE then <=1h works but >1h is blank. If we plot MAX then it automatically falls back to AVERAGE for <=1h!
author IBBoard <dev@ibboard.co.uk>
date Sat, 27 Feb 2021 15:34:54 +0000
parents e85e3470a41e
children
line wrap: on
line source

#! /bin/sh

identify ~/.cache/media-art/*.jp{,e}g 2>/dev/null | while read file; do size=$(echo $file | awk '{print $3}'); size1=$(echo $size | cut -f1 -dx); size2=$(echo $size | cut -f2 -dx); if [ $size1 -lt 500 -a 
$size2 
-lt 500 ]; 
then echo $file | awk '{print $1 " " $3 }' | sed 's/\[[0-9]\+\]//'; fi; done