From 323de7795f476e3abc71ad8b9e1ad8a071b76d5c Mon Sep 17 00:00:00 2001 From: OzGav Date: Mon, 15 Dec 2025 00:04:49 +1000 Subject: [PATCH] Adjust duration match with ISRC (#2806) --- music_assistant/helpers/compare.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/music_assistant/helpers/compare.py b/music_assistant/helpers/compare.py index cd4714c1..db5db23b 100644 --- a/music_assistant/helpers/compare.py +++ b/music_assistant/helpers/compare.py @@ -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 -- 2.34.1