Mailing List archive

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

[vdr] Re: vdradmin: how to discard some movie?



Hi,
AFAIK this is not (jet) possible in vdradmin,

but your problem could be solved by a small
separate script called by cron each 5-15 mins, which will
grep the timers.conf file for your unwanted pattern and
if found deactivate this timer(not deleting, since vdradmin
would re-insert it).

the basic shell script code would look like this:

#!/bin/bash
for i in $(cat timers.conf|grep "$PATTERN")
do
cp -f timers.conf timers.work
cat timers.work|grep -v "$i">timers.conf && rm -f timers.work
echo "0:$(echo $i|cut -f2- -d":")">>timers.conf
done


this is written from scratch, but i will test it right now
because i want to avoid recording simpson episodes i allready have,
so i will have a long list of patterns, generated from a directory.

hope this can help, until vdradmin offers such a feature :-)

Regards Onno


Gregoire Favre schrieb:
Hello,

I have the following vdradmind.at:
1:mathemat:7:::0:99:99:0:
0:physic:7:::0:99:99:0:
1:parapente:7:::0:99:99:0:
1:skate:1:::0:99:99:0:
1:rapaces:7:::0:99:99:0:
1:base-jump:7:::0:99:99:0:
1:son of the beach:7:::0:99:99:0:
1:paraglid:7:::0:99:99:0:
1:gleitschirm:7:::0:99:99:0:
1:fallschirm:7:::0:99:99:0:
1:parachute:7:::0:99:99:0:
1:mathémat:7:::0:99:99:0:
0:physik:7:::0:99:99:0:
0:physiq:7:::0:99:99:0:
1:Les petites couleurs:7:::0:99:99:0:

Is there a way to make it not reccording some movie having a special
works for example in the title (like "Point Break") ?

Thank you very much,

	Grégoire
__________________________________________________________________
http://www-ima.unil.ch/greg ICQ:16624071 mailto:greg@magma.unil.ch




--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index