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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux