mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
Add interface to pass dump hardware list and CICM XML metadata to/from images.
This commit is contained in:
@@ -417,6 +417,7 @@ namespace DiscImageChef.Core.Devices.Dumping
|
||||
(double)blockSize * (double)(blocks + 1) / 1024 / (totalDuration / 1000));
|
||||
}
|
||||
|
||||
outputPlugin.SetDumpHardware(resume.Tries);
|
||||
dumpLog.WriteLine("Closing output file.");
|
||||
DicConsole.WriteLine("Closing output file.");
|
||||
outputPlugin.Close();
|
||||
|
||||
@@ -886,6 +886,7 @@ namespace DiscImageChef.Core.Devices.Dumping
|
||||
throw new ArgumentException(outputPlugin.ErrorMessage);
|
||||
}
|
||||
|
||||
outputPlugin.SetDumpHardware(resume.Tries);
|
||||
dumpLog.WriteLine("Closing output file.");
|
||||
DicConsole.WriteLine("Closing output file.");
|
||||
outputPlugin.Close();
|
||||
|
||||
@@ -645,6 +645,7 @@ namespace DiscImageChef.Core.Devices.Dumping
|
||||
}
|
||||
}
|
||||
|
||||
outputPlugin.SetDumpHardware(resume.Tries);
|
||||
dumpLog.WriteLine("Closing output file.");
|
||||
DicConsole.WriteLine("Closing output file.");
|
||||
outputPlugin.Close();
|
||||
|
||||
@@ -390,6 +390,7 @@ namespace DiscImageChef.Core.Devices.Dumping
|
||||
|
||||
currentTry.Extents = ExtentsConverter.ToMetadata(extents);
|
||||
|
||||
outputPlugin.SetDumpHardware(resume.Tries);
|
||||
dumpLog.WriteLine("Closing output file.");
|
||||
DicConsole.WriteLine("Closing output file.");
|
||||
outputPlugin.Close();
|
||||
|
||||
@@ -770,6 +770,7 @@ namespace DiscImageChef.Core.Devices.Dumping
|
||||
throw new ArgumentException(outputPlugin.ErrorMessage);
|
||||
}
|
||||
|
||||
outputPlugin.SetDumpHardware(resume.Tries);
|
||||
dumpLog.WriteLine("Closing output file.");
|
||||
DicConsole.WriteLine("Closing output file.");
|
||||
outputPlugin.Close();
|
||||
|
||||
Reference in New Issue
Block a user