-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #5102 ### LRCLib lyrics backend fixes #### Bug Fixes - Fixed fetching lyrics from `lrclib` source. If lyrics for a specific album, artist, and title combination are not found, the plugin now searches for the artist and title and picks the most relevant result, scoring them by 1. Duration similarity to the target item 1. Availability of synced lyrics - Updated the default `sources` configuration to prioritize `lrclib` over other sources for faster and more reliable results. #### Code Improvements - Added type annotations to `fetch` method in all backends. - Introduced `LRCLyrics` and `LRCLibItem` classes to encapsulate lyrics data and improve code structure. - Enhanced error handling and logging enchancements to the `LRCLib` backend. These will be added to the rest of the backends in a separate PR.
- Loading branch information
Showing
4 changed files
with
254 additions
and
54 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.