A Python library and CLI tool to fetch synchronized lyrics in LRC format from multiple providers (Musixmatch, Deezer, Genius, Lrclib, NetEase). Version 1.0.1, supports Python >=3.8. Active development with monthly releases.
pip install syncedlyricsVerified import paths — ran on the pinned version, not inferred.
Fetch synchronized lyrics for a song. Returns LRC-formatted string or None. For translations, use `lrc = search('...', lang='fr')`.
If you rely on plain lyrics falling back, update calls to include `allow_plain=True`.
No action required unless you were dependent on the old ordering; use `providers` parameter to restrict providers if needed.
Always check if the returned value is None before processing. Consider implementing retries with exponential backoff if you see frequent failures.
Upgrade Python to >=3.8.
Upgrade to syncedlyrics >=0.7.0 which fixes this bug. Alternatively, ensure the search term is correct.
Run `pip install syncedlyrics`.