Image.sh

Aus VDR Wiki
Wechseln zu: Navigation, Suche
#!/bin/sh
#
# pregenerate images in the background, source image plugin

at now <<EOM
find "`dirname "${1}"`" -follow -type f \
                        -name "*\.[jJbBtTpPmM][pPmMiInN][gGpPeEfFmM]" \
                        -exec /usr/local/bin/imageplugin.sh '{}' '/tmp/image{}.pnm' 688 544 0 0 0 ';' 2>/dev/null
EOM

Quelle: Aus den Sourcen des image-plugins.