1
0
Fork 0

add check for thumbnail size

This commit is contained in:
mfranz 2007-06-05 16:04:24 +00:00
parent a90a24d9dd
commit 5135c9afd2

View file

@ -76,6 +76,15 @@ if [ -x "$AC3D_SCAN" ]; then
fi fi
LOG "checking for thumbnail file size (expected JPEG 171x128)"
find . -name thumbnail.jpg|while read i; do
id=$(identify "$i")
if ! echo $id|grep "JPEG 171x128" >/dev/null; then
RESULT "$i ... $id"
fi
done
LOG "checking for XML syntax ..." LOG "checking for XML syntax ..."
find . -name \*.xml|while read i; do find . -name \*.xml|while read i; do
xmllint $i >/dev/null || RESULT "... in file \e[36m$i\e[m" xmllint $i >/dev/null || RESULT "... in file \e[36m$i\e[m"