Changeset 389
- Timestamp:
- 12/09/07 12:21:50 (1 year ago)
- Files:
-
- trunk/SapphireMovieImporter.m (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/SapphireMovieImporter.m
r388 r389 572 572 } 573 573 } 574 if(!uniqueResult )return ret;574 if(!uniqueResult && [ret count]>0)return ret; 575 575 } 576 576 return nil ; … … 602 602 } 603 603 604 - (BOOL) importMetaData:(id <SapphireFileMetaDataProtocol>)metaData 604 /* - (BOOL) importMetaData:(id <SapphireFileMetaDataProtocol>)metaData */ 605 - (BOOL) importMetaData:(SapphireFileMetaData *)metaData 605 606 { 606 607 currentData = metaData; … … 632 633 /*Ask the user what movie this is*/ 633 634 NSArray *movies = [self searchResultsForMovie:fileName]; 635 /* No need to prompt the user for an empty set */ 636 if(movies==nil) 637 { 638 /* We tried to import but found nothing - mark this file to be skipped on future imports */ 639 [metaData importInfo:[NSMutableDictionary dictionary] fromSource:META_IMDB_IMPORT_KEY withTime:[[NSDate date] timeIntervalSince1970]]; 640 [metaData setFileClass:FILE_CLASS_OTHER]; 641 return YES; 642 } 634 643 /*Pause for the user's input*/ 635 644 [dataMenu pause];
