Announcements

TrackID miss in playlist

Solved!
Reply
Highlighted

TrackID miss in playlist

Casual Listener

hi all!

With some songs, the TrackID (determined with track_window.current_track.id via iframe player) does not match the IDs in the songs in a playlist.

So I can sometimes not show which track is currently active from a playlist.

 

Example:

Playlist ID: 37i9dQZF1DX4Y4RhrZqHhr

TrackID OK: 52Y5nYBQgqawttJxxtUv1e

TrackID NOK: 0ZBC6Eg6DjZRhgUmFdtzGH

 

The determined TrackIDs are once (OK) in the playlist query (curl -X "GET" "https://api.spotify.com/v1/playlists/37i9dQZF1DX4Y4RhrZqHhr" -H "Accept: application / json" -H "Content-Type: application / json" -H "Authorization: Bearer TOKEN") and once (NOK) not.

 

Do I something wrong here?

 

Thanks,

toldap

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Solution!

Re: TrackID miss in playlist

Spotify
Spotify

Hi toldap! It sounds like this could be a case of track relinking. Do you see the linked_from property in the response you received from the playlist API?

View solution in original post

2 Replies
Highlighted
Solution!

Re: TrackID miss in playlist

Spotify
Spotify

Hi toldap! It sounds like this could be a case of track relinking. Do you see the linked_from property in the response you received from the playlist API?

View solution in original post

Highlighted

Re: TrackID miss in playlist

Casual Listener
Hi spotifyjosh

thanks for your help. it was exactly the relinking!
SUGGESTED POSTS