mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-27 00:25:54 +03:00
[PR #124] [MERGED] Recommendations seeds parameters formatted as a comma seperated list #783
Labels
No labels
api-bug
bug
dependencies
documentation
duplicate
enhancement
external-ide
headless-mode
implicit-grant-flow
invalid
missing-endpoint
pr-welcome
private-api
pull-request
question
spotipy3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotipy#783
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/spotipy-dev/spotipy/pull/124
Author: @steinitzu
Created: 10/24/2016
Status: ✅ Merged
Merged: 10/24/2016
Merged by: @plamere
Base:
master← Head:fix-recommendations-params📝 Commits (1)
1304ac3Recommendations seeds parameters formatted as a comma seperated list to📊 Changes
1 file changed (+14 additions, -12 deletions)
View changed files
📝
spotipy/client.py(+14 -12)📄 Description
Hello Paul
Thanks for making Spotipy :)
I noticed when using multiple seed artists of different genres to fetch recommendations, that the resulting tracks were all sort of samey.
Turns out that Spotify API does not support multiple URL parameters in the form of "seed_artists=xxxx&seed_artists=yyyy&...", this results in Spotify API ignoring everything but the seed.
I wrapped the 'seed_x' parameters in an ','.join() call to fix the problem.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.