Log media paths that generate chromaprint errors

This commit is contained in:
ConfusedPolarBear 2022-06-09 20:03:49 -05:00
parent d042cfccb9
commit 9b79e6b05a

View File

@ -69,7 +69,7 @@ public static class FPCalc
if (lines.Length < 2) if (lines.Length < 2)
{ {
Logger?.LogTrace("fpcalc output is {Raw}", raw); Logger?.LogTrace("fpcalc output is {Raw}", raw);
throw new FingerprintException("fpcalc output was malformed"); throw new FingerprintException("fpcalc output for " + episode.Path + " was malformed");
} }
// Remove the "FINGERPRINT=" prefix and split into an array of numbers. // Remove the "FINGERPRINT=" prefix and split into an array of numbers.