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

Improved Lyric_finder to retrieve correct lyrics instead of its translation #564

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

genricoloni
Copy link

Hi,
I noticed that for some lyrics, one of its translation is shown instead of the actual lyric, and this because for some obscure reason Genius responses by putting these translations at the top of the results. You can reproduce this behavior by playing the song "Kingslayer" by "Bring Me The Horizon".
Fortunately, all the results results (at least the bunch of those I checked manually to implement this fix) have "Genius < language > <translation written in that language>" as artist_name so a find() is used to exclude the results with keyword Genius in that field.
The rest of the code hasn't changed, so the first result is chosen.

…anslation of a lyric instead of the actual one
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant