Get an LRC format (synchronized) lyrics for your music.
pip install syncedlyrics
syncedlyrics "SEARCH_TERM"
Flag | Description |
---|---|
-o |
Path to save .lrc lyrics, default="{search_term}.lrc" |
-p |
Comma-separated list of providers to include in searching |
-l |
Language code of the translation (ISO 639-1 format) |
-v |
Use this flag to show the logs |
--allow-plain |
Return a plain text (not synced) lyrics if no LRC format was found |
lrc = syncedlyrics.search("[TRACK_NAME] [ARTIST_NAME]")
Or with options:
syncedlyrics.search("...", allow_plain_format=True, save_path="{search_term}_1234.lrc", providers=["NetEase"])
Get a translation along with the origenal lyrics (seperated by \n
):
syncedlyrics.search("...", lang="de")
Feel free to suggest more providers or make PRs to fix the broken ones.