mirror of
https://github.com/SabreTools/MPF.git
synced 2026-04-05 22:01:16 +00:00
Read cuesheet from Redumper log, if possible (fixes #962)
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user