Changeset 937 for grabbers/acctv_website


Ignore:
Timestamp:
Oct 6, 2007, 5:03:19 PM (11 years ago)
Author:
paul
Message:

acctv_website.conf: paytv doesn't support 'category' => 1
acctv_website: reduce warning threshold because of first day, remove length from output.xmltv

File:
1 edited

Legend:

Unmodified
Added
Removed
  • grabbers/acctv_website

    r935 r937  
    2323my %stats; 
    2424my $o; 
    25 Shepherd::Common::program_begin(\$o, "acctv_website", "0.01", \%stats); 
     25Shepherd::Common::program_begin(\$o, "acctv_website", "0.02", \%stats); 
    2626 
    2727my ($channels, $opt_channels, $gaps) = Shepherd::Common::read_channels($o, ("ACC")); 
     
    216216 
    217217        Shepherd::Common::log("WARNING: Only $progs_in_day programmes seen for url $url") 
    218                         if ($progs_in_day < 10); 
     218                        if ($progs_in_day < 5); 
    219219 
    220220        return $progs_in_day; 
     
    296296                        my $length = ($1 < 3 ? ($1*60*60) : ($1*60)); 
    297297                        $prog->{length} = $length; 
    298                         $prog->{stop} = $prog->{start} + $length; 
    299298                        Shepherd::Common::log("set length     : $length") if ($o->{debug}); 
    300299                } elsif ($header eq 'Genre') { 
     
    329328        } 
    330329 
     330        if (defined $prog->{length}) { 
     331                $prog->{stop} = $prog->{start} + $prog->{length}; 
     332                delete $prog->{length}; 
     333        } 
     334 
    331335        return $prog; 
    332336} 
Note: See TracChangeset for help on using the changeset viewer.