BinaryEye icon indicating copy to clipboard operation
BinaryEye copied to clipboard

Idea: Add Spotify Codes

Open Dtrieb opened this issue 1 year ago • 3 comments

What do you think about the idea to add Spotify Codes?

https://www.spotifycodes.com/index.html

Dtrieb avatar Mar 27 '23 10:03 Dtrieb

Hm, I just see "Not Found" when I visit this URL 🤔

What are Spotify Codes?

markusfisch avatar Mar 27 '23 20:03 markusfisch

Hm, I just see "Not Found" when I visit this URL 🤔

Damn you have to remove the index.html https://www.spotifycodes.com

What are Spotify Codes?

Codes from Spotify to open songs, playlists, etc. See the website.

Dtrieb avatar Mar 27 '23 20:03 Dtrieb

Ah, thanks for the clarification! 👍 Didn't know this.

Unfortunately this looks like proprietary bar code format. I didn't find a technical specification or description, and while it's probably possible to reverse engineer how it works, the question is why bother? 😉 What could it be good for to read this bar code? 🤔

markusfisch avatar Mar 27 '23 20:03 markusfisch

I am not saying we need this, or don't need this. I just found the format interesting and searched if someone reversed it:
https://github.com/ozgecinko/SpotifyCodeGenerator

Medium post explaining the barcode format, archived for convenience:
https://github.com/boonepeter/boonepeter.github.io/blob/master/content/posts/spotify-codes-part-2.md
https://archive.ph/pQHa1
https://archive.ph/XBlVt
https://stackoverflow.com/questions/62121301/encoding-spotify-uri-to-spotify-codes/63479041#63479041

What could it be good for to read this bar code?

Allow me to joke, the purpose of these codes is, of course to force people use the proprietary app to get the URI instead of free ones ;)

spacesynth avatar Apr 22 '24 09:04 spacesynth

Thanks for the links! Really interesting! 🤔

However, this is probably more for ZXingCpp, the barcode library this app is using 😉

@axxel would you be interested in this?

markusfisch avatar Apr 24 '24 17:04 markusfisch

Thanks for pinging me. Before I saw the link list, I was hunting for some information myself and also ended up at

  • https://boonepeter.github.io/posts/2020-11-10-spotify-codes/ and
  • https://boonepeter.github.io/posts/spotify-codes-part-2/

But understanding that even if you ended up detecting and decoding the barcode, you'd still only get the "meadia reference" number which you can only translate into a spotify URI with an active account and an online lookup in their database. So decoding this in zxing-cpp does not sound very useful at all to me. Bottom line: I'll not invest any time in this. ;)

axxel avatar Apr 24 '24 20:04 axxel

@axxel Thanks for taking a look anyway! I can't see how that media reference number would be useful, too.

markusfisch avatar Apr 25 '24 06:04 markusfisch