Mailing List archive

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

[vdr] Re: master-timer, timer names in TITLE~SUBTITLE format



Accepted. :-)

> here is the patch (2nd chunk):
> --- processprogram.pl.bak       Fri Mar  1 16:26:09 2002
> +++ processprogram.pl   Fri Mar  1 19:30:50 2002
> @@ -74,7 +74,7 @@
>          $rPEntry = $$rProgram{$title}{$channel}{$time};
> 
>          # If already tested, or done, or blacklisted then next
> -       if ( $$rPEntry{torecord} || $$rPEntry{done} || 
> $$rPEntry{deepblack} == 2) {
> +       if ( $$rPEntry{torecord} || $$rPEntry{done} || 
> ($$rPEntry{deepblack} && ($$rPEntry{deepblack} == 2))) {
>            next;
>          }
> 
> 
> The first chunk only removes some warnings during processing.

If you get warnings you found a bug.

At that point every entry has a "deepblack"-value of 1 (Not blacklisted)
or 2(blacklisted). So the key must always exist. If it doesn't exist
than there is a bug.




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.




Home | Main Index | Thread Index