Mailing List archive

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

[vdr] Re: solution for programming vdr via mail ???



Hello Uwe,

Uwe Weissbach wrote on Wednesday, March 06, 2002, 7:39:32 AM:

>> - write a script/program that parses that text files and sets the timers
>>   over an svdrv-connection

UW> anybody out there ???  ;-)

Maybe the most simple way is this (shell script).

STARTTIME=`cat mail.txt|grep "starttime"|cut -c 12-15`
...

svdrpsend.pl ...$STARTTIME...

To find the right text positions, you can test around with
"cat mail.txt|grep "starttime"|cut -c 12-15" on the command line first.

Bye, Uwe.




Home | Main Index | Thread Index