mirror of
https://github.com/SabreTools/MPF.git
synced 2026-07-02 17:24:48 +00:00
This might take a while... (fixes #949)
This commit is contained in:
@@ -43,6 +43,7 @@
|
||||
- Print error when redump is down
|
||||
- Support new redumper log for current profile
|
||||
- Minor commandline program cleanup
|
||||
- This might take a while...
|
||||
|
||||
### 3.6.0 (2025-11-28)
|
||||
|
||||
|
||||
@@ -193,6 +193,7 @@ namespace MPF.Frontend.Tools
|
||||
var wc = new RedumpClient();
|
||||
if (!string.IsNullOrEmpty(options.Processing.Login.RedumpUsername) && !string.IsNullOrEmpty(options.Processing.Login.RedumpPassword))
|
||||
{
|
||||
resultProgress?.Report(ResultEventArgs.Neutral("Attempting to log in to Redump, this might take a while..."));
|
||||
bool? loggedIn = await wc.Login(options.Processing.Login.RedumpUsername!, options.Processing.Login.RedumpPassword!);
|
||||
if (loggedIn is null)
|
||||
{
|
||||
@@ -203,6 +204,10 @@ namespace MPF.Frontend.Tools
|
||||
{
|
||||
resultProgress?.Report(ResultEventArgs.Failure("Provided Redump credentials were invalid, not using..."));
|
||||
}
|
||||
else
|
||||
{
|
||||
resultProgress?.Report(ResultEventArgs.Success("Successfully logged into Redump!"));
|
||||
}
|
||||
}
|
||||
|
||||
// Setup the checks
|
||||
@@ -210,7 +215,7 @@ namespace MPF.Frontend.Tools
|
||||
List<int[]> foundIdSets = [];
|
||||
|
||||
// Loop through all of the hashdata to find matching IDs
|
||||
resultProgress?.Report(ResultEventArgs.Neutral("Finding disc matches on Redump..."));
|
||||
resultProgress?.Report(ResultEventArgs.Neutral("Finding disc matches on Redump, this might take a while..."));
|
||||
var splitData = info.TracksAndWriteOffsets.ClrMameProData?.TrimEnd('\n')?.Split('\n');
|
||||
int trackCount = splitData?.Length ?? 0;
|
||||
foreach (string hashData in splitData ?? [])
|
||||
|
||||
Reference in New Issue
Block a user