Image.sh
Aus VDR Wiki
Version vom 12. Juni 2006, 09:03 Uhr von 84.186.40.224 (Diskussion)
Skript vom image-plugin.
$PATH/image.sh
#!/bin/sh
#
# image.sh
#
# source: vdr-plugin image
#
# pregenerate images in background
#
# add this line to your imagecmds.conf:
# folgende zeile in die imagecmds.conf eintragen:
#
# Pregenerate this folder and below : /path_to_this_script/image.sh
#
# setup:
#
# Remove temporary files yes
# Loesche temoraere Datein ja
#
# config:
#
# image.Housekeeping = 0
screen -dm sh -c " \
find "${1%/*}" -follow -type f \
-name "*\.[jJbBtTpPmM][pPmMiInN][gGpPeEfFmM]" \
-exec imageplugin.sh {} '/tmp/image{}.pnm' 688 544 0 0 0 \;"