mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Add 'image-info' verb.
This commit is contained in:
@@ -216,7 +216,7 @@ namespace DiscImageChef.Core
|
||||
System.Console.WriteLine("Uploading partial statistics file {0}", statsFile);
|
||||
#else
|
||||
DiscImageChef.Console.DicConsole.DebugWriteLine("Submit stats", "Uploading partial statistics file {0}", statsFile);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
FileStream fs = new FileStream(statsFile, FileMode.Open, FileAccess.Read);
|
||||
XmlSerializer xs = new XmlSerializer(stats.GetType());
|
||||
@@ -258,7 +258,7 @@ namespace DiscImageChef.Core
|
||||
throw;
|
||||
#else
|
||||
continue;
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
submitStatsLock = false;
|
||||
@@ -360,6 +360,10 @@ namespace DiscImageChef.Core
|
||||
AllStats.Commands.ConvertImage++;
|
||||
CurrentStats.Commands.ConvertImage++;
|
||||
break;
|
||||
case "image-info":
|
||||
AllStats.Commands.ImageInfo++;
|
||||
CurrentStats.Commands.ImageInfo++;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user