mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-27 00:25:54 +03:00
[GH-ISSUE #133] user playlist doesn't return Discover Weekly #62
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#62
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 @nyboer on GitHub (Nov 23, 2016).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/133
I noticed that user playlists doesn't include the user's Discover Weekly as one of the items. I found through Spotify's test site that if you can query "me", you can get the Discover Weekly as a result.
That is
https://api.spotify.com/v1/users/{user_id}/playlists
doesn't return Discover Weekly, but
https://api.spotify.com/v1/me/playlists
Unless I'm mistaken, there's no way to call the latter through spotipy, correct?
@cmcnutt1 commented on GitHub (Jan 17, 2017):
I'm a little late to the party, but I've had this same problem before. So the problem with Discover Weekly playlists is that they're technically listed under the user 'spotify', rather than being directly tied to your account. To fix this, I added some lines to the client.py file under the spotipy/ directory which allow you to get information from public playlists (e.g. any playlist that isn't owned directly by you). I've submitted the change in a pull request (#156) so that it will be a built in feature.
@cmcnutt1 commented on GitHub (Jan 18, 2017):
I stumbled upon a different way to access the discover playlist, without the pull request that I mentioned in my last response. If you go to the spotify web player, you can right click on the discover list and click "Make Public", and then it should show up when you call current_user_playlists().
I'm not really sure why this works, but it started showing up for me once I made it public
@plamere commented on GitHub (Jan 22, 2017):
not a spotipy issue per se