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

Bug fix/118 return precise requested name #123

Conversation

danielcliu
Copy link
Contributor

_get_item_from_search_response() will now search through all of returned "hits" to find the matching string for the requested song title/artist name. If no matching string is found, the top Genius result of the correct type_ will be returned, and if the genius API returns nothing then None will be returned.

@danielcliu
Copy link
Contributor Author

danielcliu commented Dec 10, 2019

@johnwmillr Has this been approved? All I see is that you requested yourself for a review. I'm not super used to the Github interface

Copy link
Owner

@johnwmillr johnwmillr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thanks for the code.

@johnwmillr johnwmillr merged commit a65c0fb into johnwmillr:master Dec 11, 2019
@johnwmillr
Copy link
Owner

Resolves #118

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants