mirror of
https://github.com/SabreTools/MPF.git
synced 2026-07-02 17:24:48 +00:00
Remove offset from DIC output (fixes #326)
This commit is contained in:
@@ -386,9 +386,13 @@ namespace MPF.Modules.DiscImageCreator
|
||||
info.TracksAndWriteOffsets.Cuesheet = GetFullFile(basePath + ".cue") ?? "";
|
||||
var cueSheet = new CueSheet(basePath + ".cue"); // TODO: Do something with this
|
||||
|
||||
string cdWriteOffset = GetWriteOffset(basePath + "_disc.txt") ?? "";
|
||||
info.CommonDiscInfo.RingWriteOffset = cdWriteOffset;
|
||||
info.TracksAndWriteOffsets.OtherWriteOffsets = cdWriteOffset;
|
||||
// Audio discs "all have an offset of 0" and should not be included
|
||||
if (!System.IsAudio())
|
||||
{
|
||||
string cdWriteOffset = GetWriteOffset(basePath + "_disc.txt") ?? "";
|
||||
info.CommonDiscInfo.RingWriteOffset = cdWriteOffset;
|
||||
info.TracksAndWriteOffsets.OtherWriteOffsets = cdWriteOffset;
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user