add check for thumbnail size
This commit is contained in:
parent
a90a24d9dd
commit
5135c9afd2
1 changed files with 9 additions and 0 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue