Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lrcdl-0.1.1.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lrcdl-0.1.1-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file lrcdl-0.1.1.tar.gz.

File metadata

  • Download URL: lrcdl-0.1.1.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

Hashes for lrcdl-0.1.1.tar.gz
Algorithm Hash digest
SHA256 6561d233196108519fcea0866d549d2d86d4b483501b4d58bdcff6e5108bcf97
MD5 e90e0fa7cf792ce4064240e3417f0c28
BLAKE2b-256 dd14cfdf7416529d6f626931a0aa75a728f4982dc95d39a4447922e2f26a2100

See more details on using hashes here.

File details

Details for the file lrcdl-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: lrcdl-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.3 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

Hashes for lrcdl-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b07e8971401db41c37e2133d9d126b970d092cf98065c1977bb28540474febcb
MD5 2ded412474a292e8c7bb8dc59d29d30d
BLAKE2b-256 b792290b29a59a72d869b8f66a13b6c2257d51d13625acddfcc2702f66b9c408

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page