How do I get track information from the spotify-url?
Is there information out in the open on how to get track meta-data from the spotify URLs (before the long-awaited api comes out)? What's the most efficient hack for this? I just want a service that parses the different track information out from the s-url, and ideally even playlist contents, too. Anything?
2
people have this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?Do you mean getting data our of the actual URI itself? I don't think it contains any specific data.
-
Inappropriate?That doesn't I guess, but what I'm after is the method for extracting the song name/artist/album/etc information based on the URI? Since there isn't an API AFAIK, is there a common hack for doing this?
Cheers! -
I haven't seen any solutions for doing this yet, maybe someone else on the forum has? -
Sorry for being a pain. There's tons of examples, maybe I'm not being clear about this. Like what Toastify (toastify.codeplex.com) when it grabs the song an artist info to the clipboard (might be a windows thing though), or what the last.fm hacks did before spotify added scrobbling. Is this done through the Last.fm API instead and not Spotify? -
I'm not totally sure, I'll ask around and try and get back to you tomorrow with an answer. -
Inappropriate?The URI contains a base62 encoded string that identifies the track, decode that, then by searching for it in the metadata file stored in the spotify folder you can get the artist, album, year, length and so on. Problem is that the metadata file is only updated when you close Spotify. So you won't be able to get this info for a song you listen to the first time until you close and restart Spotify.
I really hope that there's something done about all this as soon as possible...
1 person says
this answers the question
-
Ok, that's pretty conclusive. Thanks! -
Could you please elaborate?
How can I retrieve the track infos of a playlist?
(Shall I decode the key used in the Spotify URI to use it as a filename which I could read as a text file?
Am I supposed to find in he folder a file named with the key ; and decode the content of this text file?)
Many thanks in advance or your help...
)
Loading Profile...



EMPLOYEE
