From 2adb28c2c748e9cc28ce57cb555e7d141e218ad0 Mon Sep 17 00:00:00 2001 From: lexitronic Date: Sun, 17 Aug 2025 04:22:15 -0400 Subject: [PATCH] remove parentheses from title when comparing with ISRC search --- deezspot/deezloader/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deezspot/deezloader/__init__.py b/deezspot/deezloader/__init__.py index 44ccd6c..ef12816 100644 --- a/deezspot/deezloader/__init__.py +++ b/deezspot/deezloader/__init__.py @@ -438,8 +438,8 @@ class DeeLogin: dz_json = dz tn = (dz_json.get('track_position') or dz_json.get('track_number') or 0) title_match = max( - _sim(spo_title, dz_json.get('title', '')), - _sim(spo_title, dz_json.get('title_short', '')), + _sim(_remove_parentheses(spo_title), _remove_parentheses(dz_json.get('title', ''))), + _sim(_remove_parentheses(spo_title), _remove_parentheses(dz_json.get('title_short', ''))) ) album_match = _sim(spo_album_title, (dz_json.get('album') or {}).get('title', '')) t_isrc = (dz_json.get('isrc') or '').upper()