- Timestamp:
- 02/25/10 09:57:07 (2 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
branches/PlayerFramework/SapphireFrappliance/MetaData/SapphireMObjects/SapphireFileMetaData.m
r1173 r1176 428 428 updated=TRUE ; 429 429 NSMutableDictionary *fileMeta = [NSMutableDictionary dictionary]; 430 NSString *path; 430 NSString *path = [file path]; 431 NSString *modifiedPath = path; 431 432 NSFileManager *fm = [NSFileManager defaultManager]; 432 433 … … 441 442 if([lowerFile hasSuffix:@".ifo"] && ![[lowerFile lastPathComponent] isEqualToString:@"video_ts.ifo"]) 442 443 { 443 path = [vtsPath stringByAppendingPathComponent:file];444 modifiedPath = [vtsPath stringByAppendingPathComponent:file]; 444 445 break; 445 446 } 446 447 } 447 448 } 448 else 449 path = [file path]; 450 NSDictionary *props = [fm fileAttributesAtPath:path traverseLink:YES]; 449 NSDictionary *props = [fm fileAttributesAtPath:modifiedPath traverseLink:YES]; 451 450 int modTime = [[props objectForKey:NSFileModificationDate] timeIntervalSince1970]; 452 451 /*Set modified, size, and version*/
