| 557 | | if([SapphireFrontRowCompat usingLeopard]) |
| 558 | | { |
| 559 | | BRDVDMediaAsset *asset = [[BRDVDMediaAsset alloc] initWithPath:path]; |
| 560 | | SapphireDVDLoadingController *controller = [[SapphireDVDLoadingController alloc] initWithScene:[self scene] forAsset:asset]; |
| 561 | | [asset release]; |
| 562 | | [[self stack] pushController:controller]; |
| 563 | | [controller release]; |
| 564 | | } |
| 565 | | else |
| 566 | | { |
| 567 | | SapphireErrorDisplayController *controller = [[SapphireErrorDisplayController alloc] initWithScene:[self scene] error:BRLocalizedString(@"Playback Error", @"Short error indicating an error while playing a file") longError:BRLocalizedString(@"DVD Playback is not supported on the AppleTV", @"Error message saying DVD on ATV not supported")]; |
| 568 | | [[self stack] pushController:controller]; |
| 569 | | [controller release]; |
| 570 | | } |
| | 560 | SapphireCMPWrapper *wrapper = [[SapphireCMPWrapper alloc] initWithFile:currentPlayFile scene:[self scene]]; |
| | 561 | id controller = [wrapper controller]; |
| | 562 | [wrapper release]; |
| | 563 | // SapphireErrorDisplayController *controller = [[SapphireErrorDisplayController alloc] initWithScene:[self scene] error:BRLocalizedString(@"Playback Error", @"Short error indicating an error while playing a file") longError:BRLocalizedString(@"DVD Playback is not supported on the AppleTV", @"Error message saying DVD on ATV not supported")]; |
| | 564 | [[self stack] pushController:controller]; |