projects
/
music-assistant-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81d5a01
)
Adjust duration match with ISRC (#2806)
author
OzGav
<gavnosp@hotmail.com>
Sun, 14 Dec 2025 14:04:49 +0000
(
00:04
+1000)
committer
GitHub
<noreply@github.com>
Sun, 14 Dec 2025 14:04:49 +0000
(15:04 +0100)
music_assistant/helpers/compare.py
patch
|
blob
|
history
diff --git
a/music_assistant/helpers/compare.py
b/music_assistant/helpers/compare.py
index cd4714c11a6b8b26438c28ae844dae7f3c59e1b9..db5db23bdf69e1ace5f3b2a11b0743d6867e66c5 100644
(file)
--- 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