No project description provided
Project description
lrcdl
lrcdl is a command-line tool for fetching lyrics from track files using https://lrclib.net.
Installation
Soon.
Basic Usage
Download lyrics (.lrc) from a track:
lrcdl track.mp3
By default, lrcdl will only download timed lyrics if they're found. To include plain, non-timed lyrics, use the --include-plain flag:
lrcdl track.mp3 --include-plain
Which will download plain lyrics only if timed ones were not found.
Supplying metadata
lrcdl relies on the metadata inside the audio track to find lyrics. In cases where the audio file does not have enough metadata, you can manually fill them in using the following parameters: --title, --album, --artist
Example:
lrcdl "Ghost Division.flac" --title "Ghost Division" --album "The Art of War" --artist Sabaton
Downloading lyrics for entire music library
If you have a music library and you want to download lyrics for all tracks, you can use the --recursive option while specifying a directory as the path:
lrcdl /PATH/TO/MUSIC --recursive
Note that lrcdl will skip files that already have an LRC file and will not overwrite them.
This command can be safely setup as a scheduled task or a cron job to download lyrics on a nightly basis, however if you have a lot of tracks in your library which lrcdl cannot find lyrics for, then lrcdl will continue to try and download lyrics for them on every run.
To improve performance and avoid unnecessary strain on lrclib's servers, you're highly advised to specify a cache file to skip already-checked files on the next run:
lrcdl /PATH/TO/MUSIC/ --recursive --cache /PATH/TO/CACHE/cache.txt
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lrcdl-0.1.0.tar.gz.
File metadata
- Download URL: lrcdl-0.1.0.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.2 Linux/6.1.0-23-amd64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd044d72f62ff6141e7291de0bdbbcfea75d91d10179862ce00dab7d546a3da6
|
|
| MD5 |
f09f5150b71aeb8746e9fc5cead399a1
|
|
| BLAKE2b-256 |
c378304cbc2729dc04231807ad0951ce284f2992862596ec5c83146847fb78df
|
File details
Details for the file lrcdl-0.1.0-py3-none-any.whl.
File metadata
- Download URL: lrcdl-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.2 Linux/6.1.0-23-amd64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c7d1c526551d7b0175819b99a228a5075ff940ac62ae81b38717c519527b784f
|
|
| MD5 |
4b9eb2081d1cbd840d296badfd454990
|
|
| BLAKE2b-256 |
a75f46f9e0619b33207fb1a0e16d6b4e13aabd83361c200485e9f3d742577366
|