Skip to content
New issue

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

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

Already on GitHub? # to your account

Wrong results returned #44

Open
ASochat opened this issue Jan 23, 2025 · 0 comments
Open

Wrong results returned #44

ASochat opened this issue Jan 23, 2025 · 0 comments

Comments

@ASochat
Copy link

ASochat commented Jan 23, 2025

Example of wrong results:

  • { ..., title: 'Mimimi', artist: 'SEREBRO' } => getSong returns: { ..., title: 'Io Vorrei by Raffaella De Vita' }
  • { ..., title: 'Born to Be Alive - The Original', artist: 'Patrick Hernandez' } => getSong returns: { ..., title: 'Disco Fever by Spotify' }

You might want to use the 'string-similarity' package and its { findBestMatch } method to return the right hit from Genius API.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant