mirror of
https://github.com/Readarr/Readarr
synced 2025-12-27 02:32:27 +01:00
Fixed: Don't forget about existing match when trying remote candidates
This commit is contained in:
parent
4f46ab9a9a
commit
2bfc50b59b
1 changed files with 1 additions and 1 deletions
|
|
@ -195,7 +195,7 @@ private void GetBestRelease(LocalEdition localBookRelease, IEnumerable<Candidate
|
|||
_logger.Debug("Matching {0} track files against candidates", localBookRelease.TrackCount);
|
||||
_logger.Trace("Processing files:\n{0}", string.Join("\n", localBookRelease.LocalBooks.Select(x => x.Path)));
|
||||
|
||||
double bestDistance = 1.0;
|
||||
var bestDistance = localBookRelease.Edition != null ? localBookRelease.Distance.NormalizedDistance() : 1.0;
|
||||
seenCandidate = false;
|
||||
|
||||
foreach (var candidateRelease in candidateReleases)
|
||||
|
|
|
|||
Loading…
Reference in a new issue