Show
Ignore:
Timestamp:
07/18/07 06:06:18 (6 years ago)
Author:
paul
Message:

imdb_augment_data: 'Approved' is not a rating, no changing year if already set

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • postprocessors/imdb_augment_data

    r869 r870  
    2727 
    2828my $progname = "imdb_augment_data"; 
    29 my $version = "0.31"; 
     29my $version = "0.32"; 
    3030 
    3131use XMLTV; 
     
    10031003        } 
    10041004 
    1005         $prog->{date} = $imdb->{year} if ($imdb->{year}); 
     1005        $prog->{date} = $imdb->{year} if ($imdb->{year} && !$prog->{date}); 
    10061006        # $prog->{length} = $imdb->{runtime} if ($imdb->{runtime}); 
    10071007 
     
    10761076                        if ($imdb->{certifications}->{$country} && 
    10771077                                        $imdb->{certifications}->{$country} ne 'Unrated' && 
    1078                                         $imdb->{certifications}->{$country} ne 'Not Rated') { 
     1078                                        $imdb->{certifications}->{$country} ne 'Not Rated' && 
     1079                                        $imdb->{certifications}->{$country} ne 'Approved') { 
    10791080                                push(@{($prog->{rating})},[$imdb->{certifications}->{$country},$country,undef]); 
    10801081                                $useful_rating = 1;