Changeset 479
- Timestamp:
- 02/04/2008 11:30:21 PM (4 years ago)
- Location:
- trunk/SapphireFrappliance
- Files:
-
- 2 modified
-
SapphireMovieDirectory.m (modified) (1 diff)
-
SapphireMovieImporter.m (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/SapphireFrappliance/SapphireMovieDirectory.m
r461 r479 243 243 NSString * title=[file movieTitle]; 244 244 if(title != nil) 245 { 246 title = [NSString stringWithFormat:@"%@ - %@", title, [file movieReleaseDate]]; 245 247 [mutDict setObject:file forKey:title]; 248 } 246 249 } 247 250 } -
trunk/SapphireFrappliance/SapphireMovieImporter.m
r476 r479 545 545 searchStr = [searchStr stringByReplacingAllOccurancesOf:@"." withString:@" "]; 546 546 searchStr = [searchStr stringByReplacingAllOccurancesOf:@"-" withString:@" "]; 547 searchStr = [searchStr stringByReplacingAllOccurancesOf:@"(" withString:@" "]; 548 searchStr = [searchStr stringByReplacingAllOccurancesOf:@")" withString:@" "]; 547 549 NSURL *url = [NSURL URLWithString:[NSString stringWithFormat:@"http://www.imdb.com/find?s=all&q=%@", [searchStr URLEncode]]]; 548 550 NSError * error = nil; … … 643 645 if([metaData fileContainerType] == FILE_CONTAINER_TYPE_VIDEO_TS) 644 646 return YES; 645 elsereturn NO ;647 return NO ; 646 648 } 647 649
