Get an LRC format (synchronized) lyrics for your music
Project description
syncedlyrics
Get an LRC format (synchronized) lyrics for your music.
Installation
pip install syncedlyrics
Usage
CLI
syncedlyrics "SEARCH_TERM"
Available Options
Flag | Description |
---|---|
-o |
Path to save .lrc lyrics, default="{search_term}.lrc" |
-p |
Space-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 |
--enhanced |
Return an Enhanced (word-level karaoke) format |
Python
# This simple
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 original lyrics (separated by `\n`):
syncedlyrics.search("...", lang="de")
# Get a word-by-word (karaoke) synced-lyrics if available
syncedlyrics.search("...", enhanced=True)
Providers
- Musixmatch
- Deezer
- Lrclib
- NetEase
- Megalobiz
- Genius (For plain format)
Lyricsify(Broken duo to Cloudflare protection)
Feel free to suggest more providers or make PRs to fix the broken ones.
License
Citation
If you use this library in your research, you can cite as follows:
@misc{syncedlyrics,
author = {Momeni, Mohammad},
title = {syncedlyrics},
year = {2022},
publisher = {GitHub},
journal = {GitHub repository},
howpublished = {\url{https://github.com/moehmeni/syncedlyrics}},
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
syncedlyrics-0.10.1.tar.gz
(11.8 kB
view details)
Built Distribution
File details
Details for the file syncedlyrics-0.10.1.tar.gz
.
File metadata
- Download URL: syncedlyrics-0.10.1.tar.gz
- Upload date:
- Size: 11.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.5.0-1021-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea3cd361a3531ded7aae3760fc6dcc3f3bf08f51f9c1b136c8724c7f48a2408c |
|
MD5 | 531507e2ddca84c1171b40bdfa406d89 |
|
BLAKE2b-256 | 4202a23bd4131047b5fdcfd5ee804dbda789130aed43e2d8b8c367c39163a189 |
File details
Details for the file syncedlyrics-0.10.1-py3-none-any.whl
.
File metadata
- Download URL: syncedlyrics-0.10.1-py3-none-any.whl
- Upload date:
- Size: 16.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.5.0-1021-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd0e541135099290474ed80baa9df9af978c97b84d304a700a8bc41edc0e024b |
|
MD5 | 49901f7a6f3b167a1224bff26aab4578 |
|
BLAKE2b-256 | f481a0f9461a8bcce436f9a1face2edb3111073c2a92e542ff18998b0f9fd6a6 |