| Crates.io | lrcsync |
| lib.rs | lrcsync |
| version | 0.3.2 |
| created_at | 2024-11-12 04:57:47.802794+00 |
| updated_at | 2024-12-29 06:50:07.373114+00 |
| description | a simple tool to sync lrc files from lrclib.net |
| homepage | https://github.com/javaarchive/lrcsync |
| repository | https://github.com/javaarchive/lrcsync |
| max_upload_size | |
| id | 1444540 |
| size | 110,324 |
lrclib.net client, basically looks in current directory for audio files and pulls the lrc for the song if it exists from lrclib.net. Quick poc atm but I have this because I can't run lrcget on a remote server lol because it has no gui.
Simply run:
lrcsync
in a directory with audio files and for audio files with metadata it'll look them up on lrclib.net and if there is a specific match it'll pull them.
For a more "loose" search you can use the --search flag, this will use the search endpoint which can account for different punctuation, misspellings, and case. You can also use --ignore to ignore certain properties when searching, for example to ignore the artist name you can do:
lrcsync --search --ignore artist --tolerance 3.0
When search is used as a fallback it will try to match by closest duration. The --tolerance flag can be used to set a tolerance in seconds, any results exceeding this threshold will be ignored.
Usage: lrcsync [OPTIONS]
Options:
-u, --lrclib-url <LRCLIB_URL> [default: https://lrclib.net]
-a, --hidden
-f, --force overwrite existing lrc files
-i, --ignore <IGNORE> ignore the follow properties when searching lrclib by not sending them, comma seperated
-s, --search use searching on lrclib as a fallback
-t, --tolerance <TOLERANCE> tolerance in seconds for searching lrclib [default: 5]
-h, --help Print help
-V, --version Print version