What Spotify Web API does the DJ button use?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
> Not feeling the vibe? Just hit the DJ button at the bottom right of the screen to be taken to a different genre, artist, or mood.
What API does this button use? I can't find any API under the Spotify Web API that seems to do what it does.
The DJ's playlist id is spotify:playlist:37i9dQZF1EYkqdzj48dyYq, I thought maybe the /me/player/play API would work, but this just stops playback on my macOS Spotify app:
curl -X PUT \
--header "Authorization: Bearer $ACCESS_TOKEN" \
-d '{"context_uri":"spotify:playlist:37i9dQZF1EYkqdzj48dyYq"}'
Whereas a call to another playlist works fine, for example, same call but use
spotify:playlist:0iQ8A2wx7iouUszhoytPpj ("Lushlife like" playlist).
My goal is simply to make a call from the macOS command line to hit the DJ button, without having to flip over to the app and click it. The CLI Spotify apps I've seen are just wrappers around the AppleScript API, which also doesn't have anything for the DJ.
Thanks!
See also: Spotify DJ playlist info/images
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page