Repository navigation
Conversation
hex-ronin
commented
Nov 19, 2026
- Fixed issues with encoding of special characters causes lrclib to return 400.
- Fixed comma separated is not actually comma separated
- Added a --delay option so not to overwhelm the lrclib repo when there are many lrc requests
- Fixed handling of nullable fields in lrclib API response
- Replace audiotags with lofty so audio duration is read in seconds rather than ID3v2 TLEN milliseconds - Parse comma-separated --ignore values with clap value_delimiter - Guard /api/get against empty track_name/artist_name and out-of-range duration (1..=3600s), allowing --search fallback - Filter search candidates for non-empty syncedLyrics even when duration is absent - Include HTTP response body in lrclib API error messages
Adds -d/--delay <ms> (default 500ms, per lrclib.net request throttling guidance) to sleep between consecutive HTTP requests and avoid 429 Too Many Requests responses. Pass --delay 0 to disable.
- Use url parameter in LrcLibClient::new - Remove unused config parameter from write_lrc_for_file - Rename LrclibItem fields to snake_case with serde camelCase
LRCLIB TrackResponse can return null for duration, trackName, artistName, and albumName (and uses i64 for id). Make those fields Option in LrclibItem and handle missing durations cleanly when sorting/filtering search candidates.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.