Show
Ignore:
Timestamp:
02/04/08 23:30:21 (4 years ago)
Author:
gbooker
Message:

Allow two movies with the same title if they have different release dates
Fixes #106

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/SapphireFrappliance/SapphireMovieImporter.m

    r476 r479  
    545545        searchStr = [searchStr stringByReplacingAllOccurancesOf:@"." withString:@" "]; 
    546546        searchStr = [searchStr stringByReplacingAllOccurancesOf:@"-" withString:@" "]; 
     547        searchStr = [searchStr stringByReplacingAllOccurancesOf:@"(" withString:@" "]; 
     548        searchStr = [searchStr stringByReplacingAllOccurancesOf:@")" withString:@" "]; 
    547549        NSURL *url = [NSURL URLWithString:[NSString stringWithFormat:@"http://www.imdb.com/find?s=all&q=%@", [searchStr URLEncode]]]; 
    548550        NSError * error = nil; 
     
    643645        if([metaData fileContainerType] == FILE_CONTAINER_TYPE_VIDEO_TS) 
    644646                return YES; 
    645         else return NO ; 
     647        return NO ; 
    646648} 
    647649