Changeset 614
- Timestamp:
- 07/03/08 22:33:55 (6 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/CoreData/SapphireFrappliance/Browser/SapphireBrowser.m
r610 r614 499 499 int fileClass=-1; 500 500 501 if(path != 0)501 if(path != nil) 502 502 { 503 503 [reqComp addObject:[NSString stringWithFormat:@"path=%@", [[path lastPathComponent]lowercaseString]]]; … … 584 584 } 585 585 586 if ([currentPlayFile fileContainerTypeValue] == FILE_CONTAINER_TYPE_VIDEO_TS) 586 if(![[NSFileManager defaultManager] fileExistsAtPath:path]) 587 path = nil; 588 589 if([currentPlayFile fileContainerTypeValue] == FILE_CONTAINER_TYPE_VIDEO_TS && path != nil) 587 590 { 588 591 BRDVDMediaAsset *asset = [[BRDVDMediaAsset alloc] initWithPath:path]; … … 616 619 [controller release]; 617 620 } 618 else 621 else if(path != nil) 619 622 { 620 623 /*Audio*/ branches/CoreData/SapphireFrappliance/Extension/NSFileManager-Extensions.m
r541 r614 107 107 - (BOOL)acceptFilePath:(NSString *)path 108 108 { 109 if(path == nil) 110 return NO; 109 111 NSString *name = [path lastPathComponent]; 110 112
