Add support and command for converting images, fixes #134

This commit is contained in:
2017-12-29 00:46:03 +00:00
parent d2036a3d16
commit 1aebaca9a9
11 changed files with 331 additions and 3 deletions

View File

@@ -109,6 +109,7 @@ namespace DiscImageChef.Server.Controllers
oldStats.Commands.ExtractFiles += newStats.Commands.ExtractFiles;
oldStats.Commands.ListDevices += newStats.Commands.ListDevices;
oldStats.Commands.ListEncodings += newStats.Commands.ListEncodings;
oldStats.Commands.ConvertImage += newStats.Commands.ConvertImage;
}
if(newStats.OperatingSystems != null)

View File

@@ -97,6 +97,7 @@
<i>benchmark</i> command has been run <asp:Label id="lblBenchmark" runat="server"/> times<br/>
<i>checksum</i> command has been run <asp:Label id="lblChecksum" runat="server"/> times<br/>
<i>compare</i> command has been run <asp:Label id="lblCompare" runat="server"/> times<br/>
<i>convert-image</i> command has been run <asp:Label id="lblConvertImage" runat="server"/> times<br/>
<i>create-sidecar</i> command has been run <asp:Label id="lblCreateSidecar" runat="server"/> times<br/>
<i>decode</i> command has been run <asp:Label id="lblDecode" runat="server"/> times<br/>
<i>device-info</i> command has been run <asp:Label id="lblDeviceInfo" runat="server"/> times<br/>

View File

@@ -136,6 +136,7 @@ namespace DiscImageChef.Server
lblExtractFiles.Text = statistics.Commands.ExtractFiles.ToString();
lblListDevices.Text = statistics.Commands.ListDevices.ToString();
lblListEncodings.Text = statistics.Commands.ListEncodings.ToString();
lblConvertImage.Text = statistics.Commands.ConvertImage.ToString();
}
else divCommands.Visible = false;

View File

@@ -40,7 +40,9 @@ namespace DiscImageChef.Server {
protected Label lblCompare;
protected Label lblCreateSidecar;
protected Label lblConvertImage;
protected Label lblCreateSidecar;
protected Label lblDecode;