Type in your question below and we'll check to see what answers we can find...
Loading article...
Submitting...
If you couldn't find any answers in the previous step then we need to post your question in the community and wait for someone to respond. You'll be notified when that happens.
Simply add some detail to your question and refine the title if needed, choose the relevant category, then post.
Before we can post your question we need you to quickly make an account (or sign in if you already have one).
Don't worry - it's quick and painless! Just click below, and once you're logged in we'll bring you right back here and post your question. We'll remember what you've already typed in so you won't have to do it again.
Please see below the most popular frequently asked questions.
Loading article...
Loading faqs...
Please see below the current ongoing issues which are under investigation.
Loading issue...
Loading ongoing issues...
I can get the URI for a track, no problem.
I can get the URI for a playlist, no problem.
But I can't in the general case figure out how to get the URI for a track that's in the context of a particular playlist.
I'd like to be able to start my player at a particular place within a playlist (say, start at track number 3 instead of the first track), or to start the web player this way.
Does anyone know how to do this?
Thanks,
Chris
P.S. Using the "in context" bit in AppleScript, I can get Spotify to play a particular track within a particular playlist. This is cool, and it works. However, I can't for the life of me figure out how to do that with a URI in the general case.
Hi @ccarfi,
Unfortunately you can't at the moment. Since playlists are basically just a collection of links to individual songs, when you copy a link to a song, it's linked to that individual song.
EDIT: I've put up an Idea Thread, which you can find here. If you want you can give it some kudos and support it.
Thanks, @mauriceMV. I've upvoted/kudos'd the Idea. Would be cool if others did, too.
I'm surprised this isn't available, since I was hacking around in the Applescript API and you *can* do this with the Applescript API.
It looks like this is actually possible although I haven't seen documentation of this anywhere. For anyone else googling to find out how to do this, I'll give you an example URL and URI:
URL: https://open.spotify.com/track/1uN7FXCu0SDfV2Lb3SlahC?context=spotify%3Aplaylist%3A7DP7AU926fGTJ00Php2NON URI: spotify:track:1uN7FXCu0SDfV2Lb3SlahC?context=spotify%3Aplaylist%3A7DP7AU926fGTJ00Php2NON
General format:
URL: https://open.spotify.com/track/TRACK_ID?context=spotify%3Aplaylist%3APLAYLIST_ID URI: spotify:track:TRACK_ID?context=spotify%3Aplaylist%3APLAYLIST_ID
Thank you neilobsidian! Will check it out.
I know it's kinda silly to have to do this, but if you know the playlist URI, you can get to the 3rd track on the playlist like this:
tell application "Spotify"
play track "spotify:playlist:4MNxsDTto3ngsz41PDFv82"
next track
next track
end tell
or the better:
repeat 3 times
next track
end repeat
applescript syntax may in fact be worse than python!
Unfortunately, it looks like it is not possible anymore in 2022. Unless the syntax has changed?
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…