Announcements

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

Spotify DJ playlist info/images

Spotify DJ playlist info/images

I'm making a currently-playing screen, and there's some odd things going on when using Spotify DJ.

 

When the AI voice is active, this is what /me/player/currently-playing returns:

 

 

{
  "timestamp" : 1685246754696,
  "context" : {
    "external_urls" : {
      "spotify" : "https://open.spotify.com/playlist/37i9dQZF1EYkqdzj48dyYq"
    },
    "href" : "https://api.spotify.com/v1/playlists/37i9dQZF1EYkqdzj48dyYq",
    "type" : "playlist",
    "uri" : "spotify:playlist:37i9dQZF1EYkqdzj48dyYq"
  },
  "progress_ms" : 2581,
  "item" : null,
  "currently_playing_type" : "track",
  "actions" : {
    ...
  },
  "is_playing" : true
}

 

 

`item` is null, but there's context about the playlist. I figured it would be nice to show the blue with green circle DJ playlist artwork, so I tried to make the request for the playlist from `context`.

 

So I make the call to  https://api.spotify.com/v1/playlists/37i9dQZF1EYkqdzj48dyYq, and I get back a 404. I have the scopes user-read-currently-playing, playlist-read-private, and playlist-read-collaborative. I'm using the Authorization with PKCE flow.

 

When playing from other playlists (public, private, or shared from other users) everything works fine.

 

I also tried playlists/{playlist_id}/images and that also returns a 404.

 

Is this expected? Or is there an oversight on the API side for this playlist?

Reply
1 Reply

This never got fixed. It would be nice to at least get some indication that the AI DJ is playing, rather then returning a playlist context but then a 404 when trying to access details. 

Suggested posts

Let's introduce ourselves!

Hey there you,   Yeah, you! 😁   Welcome - we're glad you joined the Spotify Community!   While you here, let's have a fun game and get…

ModeratorStaff / Moderator/ 4 years ago  in Social & Random