Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[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.
Home |
Main Index |
Thread Index