Skip to content

Conversation

genricoloni
Copy link
Contributor

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
@aome510 aome510 merged commit b202385 into aome510:master Sep 26, 2024
3 checks passed
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.

2 participants