From f897f2aa7055c493db6391c50c8d19da970078e8 Mon Sep 17 00:00:00 2001 From: Andreas Brachold Date: Tue, 19 Jul 2005 15:09:05 +0000 Subject: Initial import with release 0.2.3 --- examples/imagecmds.conf | 22 ++++++++++++++++++++++ examples/imagecmds.conf.DE | 16 ++++++++++++++++ examples/imagesources.conf | 21 +++++++++++++++++++++ 3 files changed, 59 insertions(+) create mode 100644 examples/imagecmds.conf create mode 100644 examples/imagecmds.conf.DE create mode 100644 examples/imagesources.conf (limited to 'examples') 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: [?]; +# +# = descriptor displayed in VDR +# [?] = confirmation request, before execute command (optionally) +# = 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, where to finde images or image directories +# = descriptor displayed in VDR +# = 0 - if no mounting should be done +# 1 - if needs to be mounted first. +# (Dont forget to setup fstab !!!) +# = 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 -- cgit v1.2.3