From 930e6e07323fb5c8ea1f561cd16bf412c10ae986 Mon Sep 17 00:00:00 2001 From: Mohammad Momeni Date: Sun, 14 Jan 2024 16:20:45 +0100 Subject: [PATCH] Update README.md --- README.md | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index e697768..b7ac9b1 100644 --- a/README.md +++ b/README.md @@ -12,30 +12,25 @@ pip install syncedlyrics ``` syncedlyrics "SEARCH_TERM" ``` -You can also get a translation along the original lines (if available on Musixmatch): -``` -syncedlyrics "SEARCH_TERM" -l es -``` #### Available Options | Flag | Description | | --- | --- | | `-o` | Path to save `.lrc` lyrics, default="{search_term}.lrc" | | `-p` | Comma-separated list of providers to include in searching | -| `-l` | Language of the translation along with the lyrics **(Curently only by Musixmatch)** | +| `-l` | Language code of the translation ([ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) format) | | `-v` | Use this flag to show the logs | | `--allow-plain` | Return a plain text (not synced) lyrics if no LRC format was found | ### Python ```py -import syncedlyrics lrc = syncedlyrics.search("[TRACK_NAME] [ARTIST_NAME]") ``` Or with options: ```py syncedlyrics.search("...", allow_plain_format=True, save_path="{search_term}_1234.lrc", providers=["NetEase"]) ``` -Translated version (Note language codes should follow [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes)): +Get a translation along with the original lyrics (seperated by `\n`): ``` syncedlyrics.search("...", lang="de") ``` @@ -45,7 +40,7 @@ syncedlyrics.search("...", lang="de") - [Lrclib](https://github.com/tranxuanthang/lrcget/issues/2#issuecomment-1326925928) - [NetEase](https://music.163.com/) - [Megalobiz](https://www.megalobiz.com/) -- ~~[Lyricsify](https://www.lyricsify.com/)~~ (Broken, should bypass Cloudflare protection) +- ~~[Lyricsify](https://www.lyricsify.com/)~~ (Broken duo to Cloudflare protection) - ~~[Deezer](https://deezer.com/)~~ (Broken) Feel free to suggest more providers or make PRs to fix the broken ones.