Help Wizard

Step 1

NEXT STEP

TrackID miss in playlist

Solved!

TrackID miss in playlist

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

Reply

Accepted Solutions
Marked as solution

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
Marked as solution

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?

Hi spotifyjosh

thanks for your help. it was exactly the relinking!

Suggested posts