Need help? Check out Spotify Answers for solutions to a wide range of topics. |
My Question or Issue
I am attempting to get the current position in a playlist as the playlist is played. I have ran into 2 issues.
Issue #1: I get all of the playlist's track URI's and I get the URI of the current track. The issue is that the current track's URI doesn't exist in the playlist's URI list. This is apparently due to the song being released on a different playlist/album so it has more than one URI.
Issue #2: In an attempt to solve the first issue, I decided to try to find the position using the song title(not ideal). This doesn't work because I have found songs that have a different name in the playlist than when I fetch the current track name(ie "- Acoustic" is added to the end).
My big question is: Is there a method of tracking the position in a playlist the user is currently listening to? Maybe a unique track identifier that I don't know about?
Solved! Go to Solution.