We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If there is only one match
@lastfm.track.search(track: song.to_search_term)['results']['trackmatches']['track']
returns a hash but otherwise it returns an array. Is this intended?
Currently I hack around this fact by putting the resulting hash in an array if there only one match.
The text was updated successfully, but these errors were encountered:
d4c9ec2
That was fast. Thanks!
Sorry, something went wrong.
Thanks for reporting!
No branches or pull requests
If there is only one match
returns a hash but otherwise it returns an array. Is this intended?
Currently I hack around this fact by putting the resulting hash in an array if there only one match.
The text was updated successfully, but these errors were encountered: