mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
Added list-encodings command.
This commit is contained in:
@@ -111,6 +111,7 @@ namespace DiscImageChef.Server.Controllers
|
||||
oldStats.Commands.Ls += newStats.Commands.Ls;
|
||||
oldStats.Commands.ExtractFiles += newStats.Commands.ExtractFiles;
|
||||
oldStats.Commands.ListDevices += newStats.Commands.ListDevices;
|
||||
oldStats.Commands.ListEncodings += newStats.Commands.ListEncodings;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -50,6 +50,7 @@
|
||||
<i>extract-files</i> command has been run <asp:Label id="lblExtractFiles" runat="server"/> times<br/>
|
||||
<i>formats</i> command has been run <asp:Label id="lblFormats" runat="server"/> times<br/>
|
||||
<i>list-devices</i> command has been run <asp:Label id="lblListDevices" runat="server"/> times<br/>
|
||||
<i>list-encodings</i> command has been run <asp:Label id="lblListEncodings" runat="server"/> times<br/>
|
||||
<i>ls</i> command has been run <asp:Label id="lblLs" runat="server"/> times<br/>
|
||||
<i>media-info</i> command has been run <asp:Label id="lblMediaInfo" runat="server"/> times<br/>
|
||||
<i>media-scan</i> command has been run <asp:Label id="lblMediaScan" runat="server"/> times<br/>
|
||||
|
||||
@@ -107,6 +107,7 @@ namespace DiscImageChef.Server
|
||||
lblLs.Text = statistics.Commands.Ls.ToString();
|
||||
lblExtractFiles.Text = statistics.Commands.ExtractFiles.ToString();
|
||||
lblListDevices.Text = statistics.Commands.ListDevices.ToString();
|
||||
lblListEncodings.Text = statistics.Commands.ListEncodings.ToString();
|
||||
}
|
||||
else
|
||||
divCommands.Visible = false;
|
||||
@@ -237,7 +238,7 @@ namespace DiscImageChef.Server
|
||||
divDevices.Visible = false;
|
||||
|
||||
}
|
||||
catch(Exception)
|
||||
catch(Exception ex)
|
||||
{
|
||||
content.InnerHtml = "<b>Could not load statistics</b>";
|
||||
#if DEBUG
|
||||
|
||||
2
DiscImageChef.Server/Statistics.aspx.designer.cs
generated
2
DiscImageChef.Server/Statistics.aspx.designer.cs
generated
@@ -55,6 +55,8 @@ namespace DiscImageChef.Server {
|
||||
|
||||
protected System.Web.UI.WebControls.Label lblListDevices;
|
||||
|
||||
protected System.Web.UI.WebControls.Label lblListEncodings;
|
||||
|
||||
protected System.Web.UI.WebControls.Label lblLs;
|
||||
|
||||
protected System.Web.UI.WebControls.Label lblMediaInfo;
|
||||
|
||||
Reference in New Issue
Block a user