Changeset 1469


Ignore:
Timestamp:
Sep 9, 2013, 10:13:00 PM (10 years ago)
Author:
mbarry
Message:

imdb_augment_data: Avoid erroring out with movies that begin with "The"

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/postprocessors/imdb_augment_data

    r1406 r1469  
    2828
    2929my $progname = "imdb_augment_data";
    30 my $version = "1.02";
     30my $version = "1.03";
    3131
    3232use XMLTV;
     
    313313                        my $showname = $title;
    314314                        $showname = "$1, The" if ($showname =~ /^The (.*)/i);   # format to match search results
    315                         next unless ($text =~ /^$showname \(((19|20)\d\d)\)$/i); # ignore partial & approximate matches
     315                        next unless ($text =~ /^$title \(((19|20)\d\d)\)$/i); # ignore partial & approximate matches
    316316                        my $found_year = $1;
    317317                        if (!$movie_year || !$found_year || (abs($movie_year - $found_year) <= 1) ) {
  • trunk/status

    r1468 r1469  
    1515grabber         foxtel_swf          4.00
    1616reconciler      reconciler_mk2      0.49
    17 postprocessor   imdb_augment_data   1.02
     17postprocessor   imdb_augment_data   1.03
    1818postprocessor   metacritic          1.0
    1919postprocessor   augment_timezone    0.30
Note: See TracChangeset for help on using the changeset viewer.