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

Not getting all tracks when using get_artist_audio_features() #192

Open
mswatek opened this issue Jan 11, 2023 · 3 comments
Open

Not getting all tracks when using get_artist_audio_features() #192

mswatek opened this issue Jan 11, 2023 · 3 comments
Assignees

Comments

@mswatek
Copy link

mswatek commented Jan 11, 2023

I'm trying to get audio features for each song I've listened to, but the get_artist_audio_features() function does not display every song for each artist. It seems like there might be an issue with punctuation either within the song title or album name, but not sure if that's the reason. I've also running into issues when I input certain artists of their songs not appearing at all (an example of this is "+44", which is not recognized by name but does appear when I enter their artist ID). Any idea of why this might be? Thanks!

@pitkant
Copy link

pitkant commented Mar 2, 2023

get_artist_audio_features uses search_spotify to find artists that were inputed using a name and at least I got songs for an artist called "44phantom" instead of "+44" (44phantom was 1st on the list of results when running search_spotify("+44", type = "artist")).

I would always use the artist ID to have the most exact results. Searching and fuzzy matching can be a bit finicky at times.

@antaldaniel
Copy link
Collaborator

That is a very good suggestions.

@pitkant
Copy link

pitkant commented Mar 6, 2023

I think this enhancement could mainly be about clarifying documentation and suggesting more explicitly that users would use artist ID's. The current code is fine, in my opinion.

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

No branches or pull requests

3 participants