From ec9625f2b36d336e6b497c0508c73b05366df842 Mon Sep 17 00:00:00 2001 From: bakerboy448 <55419169+bakerboy448@users.noreply.github.com> Date: Sat, 4 Oct 2025 14:54:18 -0500 Subject: [PATCH] Fixed: null coalesce for fingerprinting --- .../TrackImport/Identification/IdentificationService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/MediaFiles/TrackImport/Identification/IdentificationService.cs b/src/NzbDrone.Core/MediaFiles/TrackImport/Identification/IdentificationService.cs index 1e76c1405..19f81f152 100644 --- a/src/NzbDrone.Core/MediaFiles/TrackImport/Identification/IdentificationService.cs +++ b/src/NzbDrone.Core/MediaFiles/TrackImport/Identification/IdentificationService.cs @@ -157,7 +157,7 @@ private bool ShouldFingerprint(LocalAlbumRelease localAlbumRelease) 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() ||