[vdr] Re: master-timer (process_summary.pl) and vdr-1.3.x ?

Gregoire Favre gregoire.favre at gmail.com
Tue Dec 27 16:52:10 CET 2005


On Tue, Dec 27, 2005 at 03:03:29PM +0100, Gregoire Favre wrote:
> Hello,
> 
> does someone use the process_summary.pl (or similar) with a recent VDR ?

Now I can use this on any info.vdr files :

#!/bin/bash

while [ $# -ge 1 ]; do
T=`cat $1 | grep "^T"|sed -e "s/^T //"`
S=`cat $1 | grep "^S"|sed -e "s/^S //"`
t=`echo $T|wc -w`
s=`echo $S|wc -w`
if [ ! $t -eq 0 ] && [ ! $s -eq 0 ]; then
	echo "$T"\|"$S" >> /etc/master-timer/done
	echo $1 good EPG
else
	echo $1 -en '\E[01;31m'"\033[1mbad\033[0m" EPG
fi
shift
done
sort /etc/master-timer/done | uniq -i > /etc/master-timer/done.sorted
mv /etc/master-timer/done.sorted /etc/master-timer/done
if [ -e /etc/master-timer/done.dat ]; then
rm  /etc/master-timer/done.dat
fi

But the result is not that good, no idea why ???
-- 
	Grégoire FAVRE



More information about the vdr mailing list