[CUE Sheet Container] Allow other containers
Allow .mp3 and such to fall back to the FFmpeg container handler, in case there are chapters in a renamed file. Signed-off-by: Christopher Snowhill <kode54@gmail.com>xcode15
parent
f9c7e85e72
commit
93e3dd7aa6
|
@ -61,7 +61,7 @@
|
||||||
cuesheet = [CueSheet cueSheetWithFile:[url path]];
|
cuesheet = [CueSheet cueSheetWithFile:[url path]];
|
||||||
|
|
||||||
if(!cuesheet)
|
if(!cuesheet)
|
||||||
return embedded ? [NSMutableArray arrayWithObject:url] : tracks;
|
return tracks;
|
||||||
|
|
||||||
for(CueSheetTrack *track in [cuesheet tracks]) {
|
for(CueSheetTrack *track in [cuesheet tracks]) {
|
||||||
[tracks addObject:[NSURL URLWithString:[[url absoluteString] stringByAppendingFormat:@"#%@", [track track]]]];
|
[tracks addObject:[NSURL URLWithString:[[url absoluteString] stringByAppendingFormat:@"#%@", [track track]]]];
|
||||||
|
|
Loading…
Reference in New Issue