We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ccd45fb commit 988c048Copy full SHA for 988c048
1 file changed
syncedlyrics/__init__.py
@@ -68,7 +68,8 @@ def search(
68
if enhanced and not _l:
69
# Since enhanced is only supported by Musixmatch, break if no LRC is found
70
break
71
- if is_lrc_valid(_l, allow_plain_format, lang is not None):
+ check_translation = lang is not None and isinstance(provider, Musixmatch)
72
+ if is_lrc_valid(_l, allow_plain_format, check_translation):
73
logger.info(
74
f'synced-lyrics found for "{search_term}" on {provider.__class__.__name__}'
75
)
0 commit comments