Adjust duration match with ISRC (#2806)
authorOzGav <gavnosp@hotmail.com>
Sun, 14 Dec 2025 14:04:49 +0000 (00:04 +1000)
committerGitHub <noreply@github.com>
Sun, 14 Dec 2025 14:04:49 +0000 (15:04 +0100)
music_assistant/helpers/compare.py

index cd4714c11a6b8b26438c28ae844dae7f3c59e1b9..db5db23bdf69e1ace5f3b2a11b0743d6867e66c5 100644 (file)
@@ -170,7 +170,7 @@ def compare_track(
         if external_id_match is True:
             # we got a 'soft-match' on a secondary external id (like ISRC)
             # but we do a double check on duration
-            if abs(base_item.duration - compare_item.duration) <= 2:
+            if abs(base_item.duration - compare_item.duration) <= 8:
                 return True
 
     # compare name