Set metadata on dump.

This commit is contained in:
2020-01-09 18:01:43 +00:00
parent 5e0b86af82
commit a87c5b24aa
7 changed files with 79 additions and 2 deletions

View File

@@ -1092,6 +1092,15 @@ namespace DiscImageChef.Core.Devices.Dumping
currentTry.Extents = ExtentsConverter.ToMetadata(extents);
var metadata = new CommonTypes.Structs.ImageInfo
{
Application = "DiscImageChef", ApplicationVersion = Version.GetVersion()
};
if(!_outputPlugin.SetMetadata(metadata))
ErrorMessage?.Invoke("Error {0} setting metadata, continuing..." + Environment.NewLine +
_outputPlugin.ErrorMessage);
_outputPlugin.SetDumpHardware(_resume.Tries);
if(_preSidecar != null)