[vdr] Vdradmin -> master-timer

Matthias Schniedermeyer ms at citd.de
Mon Jan 23 23:35:33 CET 2006

Gregoire Favre wrote:
> On Mon, Jan 23, 2006 at 11:01:21PM +0100, Matthias Schniedermeyer wrote:
>>Is there something that i missed? I can't see how a blacklist can help
>>with bad data.
> As the process_summary.pl don't have any effect here.

1.3.<current> VDR?

Send a few info.vdrs then i can test them.
The code wasn't tested on real files. :-)

 > I have written
> some scripts to deal with my reccording, some have good title and good
> subtitle which are perfect for done, but some have title, no subtitle
> but a description which is good enough to write it in deepblack.

I've something similar implemented in Master-Timer, but only for a few 
specific channels.
If there is NO subtitle but a description then MD5 the description and 
put it into the subtitle.

This is equivalent to your method of putting the description into deepblack.
(Except that e.g. case-changes will generate another MD5 but deepblack 
is case-insensitive)

But if i change the MD5-generation a bit and activate it for all 
channels it may be the solution for you.
-> Kill subtitle if the subtitle equals the title (e.g. Pro 7)
-> Convert the description to lowercase
-> Strip whitespaces and punctuation from the description
then MD5 it and put it into the subtitle.
This is a bit more robust against 'subtle' changes in the text which 
would make it 'binary different' otherwise.

OTOH MD5-Sums as subtitles aren't exactly good for the WAF. :-)

Hmm. I guess  a 'generate MD5 sums for bad subtitles'-config-option is 
appropriate. :-)

> I don't know if it's me who have missed something, for example how to
> deal with process_summary.pl ? In that case, I would really enjoy to
> know about it :)

It may be that my info.vdr-code doesn't function properly. :-)

Bis denn

Real Programmers consider "what you see is what you get" to be just as
bad a concept in Text Editors as it is in women. No, the Real Programmer
wants a "you asked for it, you got it" text editor -- complicated,
cryptic, powerful, unforgiving, dangerous.

More information about the vdr mailing list