diff --git a/CHANGELIST.md b/CHANGELIST.md index 7300819a..40c7bf66 100644 --- a/CHANGELIST.md +++ b/CHANGELIST.md @@ -2,6 +2,7 @@ - Display the path being processed in Check since multiple are allowed - Replace method already ported to IO +- Read cuesheet from Redumper log, if possible ### 3.7.0 (2026-03-20) diff --git a/MPF.Processors/Redumper.cs b/MPF.Processors/Redumper.cs index 0b2fa3d5..5e7aa0af 100644 --- a/MPF.Processors/Redumper.cs +++ b/MPF.Processors/Redumper.cs @@ -161,8 +161,11 @@ namespace MPF.Processors switch (mediaType) { case MediaType.CDROM: - // TODO: Read the cuesheet from the log if the external file doesn't exist - info.TracksAndWriteOffsets.Cuesheet = ProcessingTool.GetFullFile($"{basePath}.cue") ?? string.Empty; + case MediaType.GDROM: + // Read the cuesheet from the log, falling back to the external file + info.TracksAndWriteOffsets.Cuesheet = GetCuesheet($"{basePath}.log") + ?? ProcessingTool.GetFullFile($"{basePath}.cue") + ?? string.Empty; // Attempt to get the error count if (GetErrorCount($"{basePath}.log", out long redumpErrors, out long c2Errors))