Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: new image patch
hi,
i've uploaded the plugin-version of my image patches.
with the new version you can rotate the image by pressing
the left key (-90) and the right key (+90).
also you can pause the slideshow by pressing the green key.
to refresh a picture after a rotate press the 0 key.
@Andreas Kool
thanks for your changes.
i' ve included the basename change. the symbolic change
i thing is not so sure because i run my vdr not as root so the
ln command does not work.
@Jan Eckholm
i think, it's more flexible to use the convert from imagemagick.
if i write my own encoder, i must write it for every type of the
image. 702x576??? oops. what a mistake :-)
----- Original Message -----
From: Andreas Kool <akool@akool.de>
To: <vdr@linuxtv.org>
Sent: Friday, January 31, 2003 7:56 PM
Subject: [vdr] Re: new image patch
On Saturday 01 February 2003 00:01, Kai Tobias Burwieck wrote:
> hi,
>
> i' ve uploaded a new version of the image patch.
> now you can skip between the images.
How?
Maybe, a small README would be fine ;-)
> happy testing.
>
>
> bye kai
> patch: http://www.burwieck.net/vdr/vdr-mp3-0.7.9-image-0.0.2.diff
> convert.sh: http://www.burwieck.net/vdr/convert.sh
A small patch against "convert.sh":
--- convert.sh.orig 2003-01-27 22:57:57.000000000 +0100
+++ convert.sh 2003-01-28 14:40:14.000000000 +0100
@@ -25,7 +25,7 @@
DATE=`date +%d.%m.%y-%T`
echo "$0: $DATE: startet ..." > $LOGFILE
DIR=`dirname "$1"`
-FILE=`namei -m "$1" | grep " -" | cut -d" " -f3 | cut -d"." -f1`
+FILE=`basename "$1"`
NEWDIR="$TEMPDIR$DIR"
NEWFILE="$NEWDIR/$FILE.mpg"
logit "IMAGEFILE: $1";
@@ -55,7 +55,7 @@
logit "$NEWFILE exists ... convert not required";
fi
-cp "$NEWFILE" /tmp/image.mpg | tee -a $LOGFILE
+ln -sf "$NEWFILE" /tmp/image.mpg | tee -a $LOGFILE
if [ ! -f "$NEWFILE" ]
then
logit "$DATE: not successfull ...";
PS: I like your plugin very much!
Ciao,
Andreas
--
Andreas Kool (akool<nospam>@</nospam>akool.de * http://www.akool.de)
PGP: 3FBF2411 Fingerprint: B5 35 34 74 25 60 2A 7A 89 06 92 C4 08 BA A5 BD
Transmission of this message via the Microsoft Network is prohibited
--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as
subject.
--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.
Home |
Main Index |
Thread Index