Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lyrics: Use distance threshold for Genius search matches #5453

Closed
wants to merge 1 commit into from

Commits on Oct 13, 2024

  1. Apply dist_thresh to Genius and Google backends

    This commit introduces a distance threshold mechanism for the Genius and
    Google backends.
    
    - Create a new `SearchBackend` base class with a method `check_match`
      that performs checking.
    - Start using undocumented `dist_thresh` configuration option for good,
      and mention it in the docs. This controls the maximum allowable
      distance for matching artist and title names.
    
    These changes aim to improve the accuracy of lyrics matching, especially
    when there are slight variations in artist or title names, see #4791.
    snejus committed Oct 13, 2024
    Configuration menu
    Copy the full SHA
    4bf1061 View commit details
    Browse the repository at this point in the history