From 4480eeefbefe6f7efc570e353ef09058f8ccb486 Mon Sep 17 00:00:00 2001 From: Christopher Snowhill Date: Wed, 3 Aug 2022 21:20:42 -0700 Subject: [PATCH] [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 --- Plugins/CueSheet/CueSheetContainer.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/CueSheet/CueSheetContainer.m b/Plugins/CueSheet/CueSheetContainer.m index 7f8b5a4e1..234383576 100644 --- a/Plugins/CueSheet/CueSheetContainer.m +++ b/Plugins/CueSheet/CueSheetContainer.m @@ -61,7 +61,7 @@ cuesheet = [CueSheet cueSheetWithFile:[url path]]; if(!cuesheet) - return embedded ? [NSMutableArray arrayWithObject:url] : tracks; + return tracks; for(CueSheetTrack *track in [cuesheet tracks]) { [tracks addObject:[NSURL URLWithString:[[url absoluteString] stringByAppendingFormat:@"#%@", [track track]]]];