mirror of
https://github.com/Lidarr/Lidarr.git
synced 2026-04-26 09:09:12 -05:00
Fixed: null coalesce for fingerprinting
This commit is contained in:
@@ -157,7 +157,7 @@ namespace NzbDrone.Core.MediaFiles.TrackImport.Identification
|
||||
var worstTrackMatchDist = localAlbumRelease.TrackMapping?.Mapping
|
||||
.Select(x => x.Value.Item2.NormalizedDistance())
|
||||
.DefaultIfEmpty(1.0)
|
||||
.Max();
|
||||
.Max() ?? 1.0;
|
||||
|
||||
if (localAlbumRelease.Distance.NormalizedDistance() > 0.15 ||
|
||||
localAlbumRelease.TrackMapping.LocalExtra.Any() ||
|
||||
|
||||
Reference in New Issue
Block a user