progress -- change get to search for lrclib

This commit is contained in:
2025-01-14 10:04:05 -05:00
parent 9d8d38081a
commit f86d5a4fec
6 changed files with 113 additions and 8 deletions

View File

@@ -55,7 +55,7 @@ class TrackMatcher:
best_match = candidate
# Return the match only if it meets the threshold
return (best_match, best_score) if best_score >= self.threshold else None
return (best_match, round(best_score, 2)) if best_score >= self.threshold else None
def _normalize_string(self, text: str) -> str:
"""