It’s a fork bomb. Specifically it’s a piece of code that recursively calls itself and then it calls itself to run the code.
Thank goodness it did not work, but please do not actually run code like this!! Do your best to figure out what the code is doing before you attempt to run it!
Given the revelation that it hooks into Spotify to get playlists etc, I really wish there wasn’t that strong of a dependency on Spotify, and that I could just search for songs and start playing.
I was hoping for more YouTube music player, and less Spotify.
I have Spotify Premium which I pay for, and the desktop client is very fast and snappy to play songs. SpotTube is OK, but it isn’t as snappy as Spotify. For something that is free, that is absolutely fine, but the fact it requires Spotify for playlist etc…
I definitely get why. Spotify does playlist generation like no other, and it is the biggest platform by far. But I kind of wish I had a version that wasn’t all about the algorithms.
Also, the way you “login” to Spotify on the desktop is incredibly user un-friendly at best, and incredibly brittle at worst. Copying and pasting a cookie that Spotify uses shouldn’t be used as a way to login to any service, like, at all. And if Spotify are smart, they’ll break this functionality within a month or so using something like Fingerprint.js to identify which device the session belongs to, thus invalidating the session.