mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-27 00:25:54 +03:00
[GH-ISSUE #157] sp.user_playlists() does not return collaborative playlist that user is following #75
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#75
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?
Originally created by @DanG100 on GitHub (Jan 17, 2017).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/157
The user_playlists() does not return collaborative playlists that the current user is following. On the Spotify API console those playlists are returned.
@cmcnutt1 commented on GitHub (Jan 17, 2017):
The user_playlists function only pulls the playlists that the user is the owner of. If you're the owner of the collaborative playlist, it will get returned. However, to my knowledge, there is nothing in the spotipy code that allows you to pull down the playlists that a user is following. I'll mess around with the code a bit and see if there's any way to access the user's followed playlists.
@DanG100 commented on GitHub (Jan 18, 2017):
The problem is that the spotify web api console returns a different number of playlists then user_playlists(). Normal playlists that I follow show up in both.However, only collaborative playlists that I follow aren't in the playlists dict user_playlists()
@cmcnutt1 commented on GitHub (Jan 18, 2017):
Changing the scope to 'playlist-read-collaborative' is what did the trick for me. Had mine set on playlist-modify-private, and would not show any collaborative until I changed it. You will have to reauthorize when your program does token authentication, but should work after you make the changes and reauthorize
@DanG100 commented on GitHub (Jan 18, 2017):
Oh, that fixed it. Awesome.