Live data from Hacker News

Open-Source Spotify App

github.com

81–90 of 113 posts

Re: Open-Source Spotify App

#82

Earlier quoted context omitted.

Apple doesn't allow GPLv3 code if there are multiple contributors? I thought they didn't allow GPLv3 code at all (and that this app required you to compile and install it as as a developer .. never had an eyeProduct so I'm not even sure what the dev process is like).

If there's a single author, they own ultimate copyright to the code and can submit it to the app store under a different license.

Just to clarify for the developer, thasian, because you have all rights in the code you can license it differently to different users. The version on github will be gpl; you presumably could have different license for app store purchasers. I think the ios port of Vim is done this way, it's github link is https://github.com/terrychou/iVim . Not sure if that's actually the way terrychou did it, but surely you could ask him about it.

Re: Open-Source Spotify App

#83
post #61

Earlier quoted context omitted.

Does anyone know why Spotify doesn’t pursue name rights or DMCA takedowns in all these OSS projects, as they reverse engineer and use Spotify’s name? Snapchat practices DMCA/copyright for a lot for these sort of projects.

They seem to have a pretty open api so I'm not sure there's actually any reverse engineering going on. They even allow you to build an app that streams audio in sync with the Spotify app. So it doesn't look they are violating anything in terms of functionality. They might be forced to change their name though (just guessing) https://developer.spotify.com/documentation/ https://developer.spotify.com/documentation/ios/

Those aren’t REST APIs to gather data about songs or your history. They are native APIs to control Spotify app on that machine etc.

I think a fair amount of their business relies on gathering data from people and recommending music. They don’t let 3rd parties to do that.

Re: Open-Source Spotify App

#84
post #83

Earlier quoted context omitted.

They seem to have a pretty open api so I'm not sure there's actually any reverse engineering going on. They even allow you to build an app that streams audio in sync with the Spotify app. So it doesn't look they are violating anything in terms of functionality. They might be forced to change their name though (just guessing) https://developer.spotify.com/documentation/ https://developer.spotify.com/documentation/ios/

Those aren’t REST APIs to gather data about songs or your history. They are native APIs to control Spotify app on that machine etc. I think a fair amount of their business relies on gathering data from people and recommending music. They don’t let 3rd parties to do that.

Perhaps, but they also have APIs for song data and user listening preferences. It's actually pretty impressive how accessible their platform is to developers.

[1] https://developer.spotify.com/discover/#recommendations

Re: Open-Source Spotify App

#85
post #70

OT: does anyone know why an existing playlist would suddenly become something comepletwly different? I used to listen to a Carnatic Classical playlist (Here’s a playlist for you… Carnatic Classical by Spotify https://open.spotify.com/playlist/37i9dQZF1DWZqTcNLmb3sH?si=... ) and now it’s just changed to something completely different. Honestly this made me want to leave!

Spotify curated playlists are often dynamic - they will often get updated or completely redone every once in a while. I guess that can be a feature but it is not how I listen to music.

If I find a playlist I like, either from spotify or somewhere else, I make sure to make a local copy of that playlist in my account to make sure it doesn't change. Because when you add such a playlist you don't copy it, you subscribe to it.

(Ctrl+a to select all songs, ctrl+c, make new playlist, ctrl+v. Might be an even easier and more direct way but I don't have spptify in front of me).

Re: Open-Source Spotify App

#86
post #80

Earlier quoted context omitted.

It would’ve been better if you had answered the question clearly at the first instance. This thread seemed like playing 20 questions.

“To stream music, it redirects you to the Spotify app.” Seemed pretty obvious to me.

He said it “pulls in music”. That’s seems obvious too.

Re: Open-Source Spotify App

#88
post #47

Earlier quoted context omitted.

I don’t think this is how it works. I haven’t played with the API but I’ve dug around a bit in the source for the Spotify client. More likely, it’s by sending a stream of data or otherwise its sending encrypted chunks for which Spotify has a decoder integrated. That’s how the desktop client works at least. Your prediction seems unlikely to me for the reason that any transmission of unencrypted data like that exposes…

The old API (libspotify) did decrypt raw audio data and hand it to the player. This is likely why it was killed (that and an inability to tie usage to apps, only to users). The currently supported SDKs are for web, iOS and Android which perform the decryption via EME or platform specific DRM support. They also require app specific oauth authentication. However, libspotify's playback endpoints still work, likely due t…

Spotify's own web player does make the EME/CDM icon thingy appear in Firefox in the URL bar.

Re: Open-Source Spotify App

#89
post #61
post #2

This is an iOS app, but if it isn’t what you were hoping for, check out these other projects. A CLI UI for Spotify [0] Spotify as a daemon [1] [0] https://github.com/Rigellute/spotify-tui [1] https://github.com/Spotifyd/spotifyd

Does anyone know why Spotify doesn’t pursue name rights or DMCA takedowns in all these OSS projects, as they reverse engineer and use Spotify’s name? Snapchat practices DMCA/copyright for a lot for these sort of projects.

I imagine that as long as these don’t give non-paying users access to premium features Spotify don’t mind.

Any Snapchat client, however, can save snaps. So to ensure none of them does, only the official client should be available.

Re: Open-Source Spotify App

#90

Earlier quoted context omitted.

There's also Spotiamp. Not sure if it it still works.

IIRC The name got wrongly mixed up with some people hacking the Spotify API to boost their songs' play count and I think the project ultimately died because of that rep A truly tragic loss IMHO

Nah, ludde wrote spotiamp while working for Spotify. He's same guy that wrote utorrent and tunsafe (unofficial windows wireguard app). I believe it was a one-off project. There was a security vulnerability in the latest version of the app, but spotify fixed server-side and the older versions were not affected. There was an unrelated spotiamp project that I think was a winamp plugin, that's the bad one.

Spotiamp still mostly works but libspotify clients are deprecated, so search is broken and you need to jam spotify url's in to add music.

Post reply on HN