diff options
author | Andreas Brachold <vdr07@deltab.de> | 2005-07-19 15:09:05 +0000 |
---|---|---|
committer | Andreas Brachold <vdr07@deltab.de> | 2005-07-19 15:09:05 +0000 |
commit | f897f2aa7055c493db6391c50c8d19da970078e8 (patch) | |
tree | d13a515b24c149d7da4e9828cc9e9c73d4916f00 /examples | |
download | vdr-plugin-image-f897f2aa7055c493db6391c50c8d19da970078e8.tar.gz vdr-plugin-image-f897f2aa7055c493db6391c50c8d19da970078e8.tar.bz2 |
Initial import with release 0.2.3
Diffstat (limited to 'examples')
-rw-r--r-- | examples/imagecmds.conf | 22 | ||||
-rw-r--r-- | examples/imagecmds.conf.DE | 16 | ||||
-rw-r--r-- | examples/imagesources.conf | 21 |
3 files changed, 59 insertions, 0 deletions
diff --git a/examples/imagecmds.conf b/examples/imagecmds.conf new file mode 100644 index 0000000..779bd99 --- /dev/null +++ b/examples/imagecmds.conf @@ -0,0 +1,22 @@ +# +# This is a example of imagecmds.conf with with usually using and sample entrys. +# +# This file should placed on VDR configuration folder with setup.conf +# .../setup.conf +# .../plugins/imagecmds.conf +# +# Syntax is: <name>[?];<command> +# +# <name> = descriptor displayed in VDR +# [?] = confirmation request, before execute command (optionally) +# <command>= command what execute with current watched file +# %s - placeholder filename (optionally) +# +# See also at man-pages vdr(5), it the same syntax as reccmds.conf +# +Informations about picture : identify -verbose +Size of picture : du -chs %s +Dump Exif informations from JPEG-picture : jpegtopnm -dumpexif %s >/dev/null 2> $CONVERT_TEMPDIR/exif.tmp && cat $CONVERT_TEMPDIR/exif.tmp && rm -f $CONVERT_TEMPDIR/exif.tmp +Rotate JPEG picture lossless by 90 degrees to the right : jpegtran -rotate 90 %s > $CONVERT_TEMPDIR/tmp.jpg && mv $CONVERT_TEMPDIR/tmp.jpg %s +Rotate JPEG picture lossless by 90 degrees to the left : jpegtran -rotate 270 %s > $CONVERT_TEMPDIR/tmp.jpg && mv $CONVERT_TEMPDIR/tmp.jpg %s +Delete picture ?: rm -f %s diff --git a/examples/imagecmds.conf.DE b/examples/imagecmds.conf.DE new file mode 100644 index 0000000..71d21bf --- /dev/null +++ b/examples/imagecmds.conf.DE @@ -0,0 +1,16 @@ +# +# Kommandos für Image plugins +# +# Format: see also man vdr(5) +# +## Menutext ?: Kommando %s +# +# ? - Bestätigung anfordern, (optional) +# %s - Platzhalter für Dateinamen (optional) +# +Informationen über das Bild : identify -verbose +Größe des Bildes : du -chs %s +Exif Informationen des JPEG-Bildes ausgeben : jpegtopnm -dumpexif %s >/dev/null 2> $CONVERT_TEMPDIR/exif.tmp && cat $CONVERT_TEMPDIR/exif.tmp && rm -f $CONVERT_TEMPDIR/exif.tmp +Rotatiere JPEG Bildes verlustlos um 90° nach Rechts : jpegtran -rotate 90 %s > $CONVERT_TEMPDIR/tmp.jpg && mv $CONVERT_TEMPDIR/tmp.jpg %s +Rotatiere JPEG Bildes verlustlos um 90° nach Links : jpegtran -rotate 270 %s > $CONVERT_TEMPDIR/tmp.jpg && mv $CONVERT_TEMPDIR/tmp.jpg %s +Lösche Bild ?: rm -f %s diff --git a/examples/imagesources.conf b/examples/imagesources.conf new file mode 100644 index 0000000..0b3c441 --- /dev/null +++ b/examples/imagesources.conf @@ -0,0 +1,21 @@ +# +# This is a example of imagesources.conf with usually using and sample entrys. +# +# This file should placed on VDR configuration folder with setup.conf +# .../setup.conf +# .../plugins/imagesources.conf +# +# Syntax is: <path>;<name>;<mount>;<filter> +# +# <path> = Path, where to finde images or image directories +# <name> = descriptor displayed in VDR +# <mount> = 0 - if no mounting should be done +# 1 - if <path> needs to be mounted first. +# (Dont forget to setup fstab !!!) +# <filter> = filters, what files should be displayed. +# i.e. *.jpg *.jpeg *.png *.tif* *.bmp +# +/cdrom;CDROM;1;*.jpg *.jpeg *.png *.tif* *.bmp +/video;VDR Recordings;0;*.pnm +/mnt/images;Images on the network;0;*.jpg *.jpeg *.png *.tif* *.bmp +/mnt/camera;Digital Camera;1;*.jpg |