Live data from Hacker News

How is Javascript used within the Spotify desktop application?

quora.com

71–80 of 100 posts

Re: How is Javascript used within the Spotify desktop application?

#71
post #62
post #25

Earlier quoted context omitted.

As someone who switches often between the mac and windows version this kills me. The mac version will continue after closing but the pc version just cuts the music completely.

This is simply a fundamental difference between OS X and Windows. Typically in OS X an application remains open after closing its last window, whereas in Windows this is typically the signal to quit the application entirely. Try minimizing in Windows, that's the appropriate equivalent.

That is not what he is saying.

The Windows experience is the same if the window is from an application that is running in the systray. In that case clicking the X closes the last window but leaves the application running.

I think daheza was saying that the removal of the systray caused the same actions (closing a window) to no longer do the same thing (get this window out of my way, but keep playing music) across operating systems when they used to in the past.

Re: How is Javascript used within the Spotify desktop application?

#72
post #54

Is Ludvig Strigeus @ludde (of µTorrent/OpenTTD/ScummVM fame) still developing Spotify desktop client? I hope this chromium crap isn't his decision.

He's still there, and is doing low level stuff and hacks in Gothenburg. I heard he wrote much of the initial, highly optimized code for Spotify Connect.

I don't think the move from the C/C++ client was something he liked, tbh :)

Re: How is Javascript used within the Spotify desktop application?

#73

Earlier quoted context omitted.

It's 2015 and Winamp is still the only music player that really whips the llamas ass.

foobar2000 is pretty lean and mean too, though also Windows only.

The ui is stuck in 2001 though and it still doesn't have the ability to play/pause/skip from the aero tile.

Re: How is Javascript used within the Spotify desktop application?

#74

The Spotify desktop client has seen a massive regression since 2008 or 2009. It's incredible how they managed to make it so unresponsive. Scrolling in a playlist is like playing a game at 10 fps. It's uncomfortable and not worth it. Ads are worse as well. I've seen countless malware ads in the bottom banner.

Hmm - I haven't really noticed any unresponsive-ness but I also am a paid subscriber, I wonder if the ads are responsible for the slowness? The spotify mobile app has some odd behavior from time to time. The UI will continue to respond to my actions but nothing actually happens for 20 seconds, during that time i'll click on several different songs attempting to get them to play. Finally, for whatever reason, the app…

Speaking of the mobile app, the lockscreen UI on Android is absolutely infuriating while driving... The "Skip Song" and "Close" buttons are right next to each other and far too small. Between that and the features they've been gutting from the desktop app I've gone back to Google Play Music now.

Re: How is Javascript used within the Spotify desktop application?

#75
I am using Spotify 0.9.17 on Linux, and it is blazing fast. Starts up and is ready in under 0.5 seconds. Compared to the new "improved" JS version on my OS X it is an order of magnitude better.

I can still search in playlists! And i get the Top Lists for all the contries instead of just a few (Spotify decimated the avaiable contries in top lists in the JS version).

Stay on the native app as long as you can.

Re: How is Javascript used within the Spotify desktop application?

#76

Nice technical read, but to be honest, the moment I find another app that does what I need I will gladly leave Spotify behind. Apart from the general slugginess of the app, the number of features that have been removed over the last couple of months is staggering. Just some examples, in case someone from Spotify in a position to fix this is reading this: * Searching in playlists was removed * Searching in local files…

Starring songs was also removed and individual songs you "Save to Your Music" get bundled in with every song from every album and artist you've saved or followed and the songs from some playlists it seems. It's a complete mess.

Re: How is Javascript used within the Spotify desktop application?

#77
post #35

Earlier quoted context omitted.

Infuriating. It's 2015 and my Winamp is still more usable than a "new" music player. Why do they care if I spend more or less time in the app if I'm a premium user, surely that can't be the reason for this regression.

It's 2015 and I can't "alt-tab" into spotify in order to pause/play by pressing space; I have to click somewhere in the upper half of the interface in order to "refocus", or the spacebar just scrolls down. Which is useful for something, I guess. Though this is on Ubuntu, and Spotify is still a beta app on that platform last I checked. I don't think I've had this problem on Windows.

In Ubuntu Unity, you can just click on the sound icon in the top right corner of the screen and click pause. Or you can use the pause button on your keyboard, if you have one.

Re: How is Javascript used within the Spotify desktop application?

#78

Earlier quoted context omitted.

foobar2000 is pretty lean and mean too, though also Windows only.

The ui is stuck in 2001 though and it still doesn't have the ability to play/pause/skip from the aero tile.

For me, the no-BS standard looking UI was the reason to choose Foobar, as compared to Win Media Player or Winamp and other weird looking ones. (Remember Sonique? https://en.wikipedia.org/wiki/Sonique_%28media_player%29)

As for aero tiles... That's a Win8 thing? I guess it's a valid complaint. I think you can set global keyboard shortcuts for those actions, if that helps.

Re: How is Javascript used within the Spotify desktop application?

#79

Nice technical read, but to be honest, the moment I find another app that does what I need I will gladly leave Spotify behind. Apart from the general slugginess of the app, the number of features that have been removed over the last couple of months is staggering. Just some examples, in case someone from Spotify in a position to fix this is reading this: * Searching in playlists was removed * Searching in local files…

Starring songs was also removed and individual songs you "Save to Your Music" get bundled in with every song from every album and artist you've saved or followed and the songs from some playlists it seems. It's a complete mess.

To be fair, I still have my 'Starred' playlist and I can still add items to it. But granted, it's a bit more cumbersome to add new songs to it.

For me "Your Music" only contains songs I explicitly add to it, so not songs from playlists or artist that I follow.

Re: How is Javascript used within the Spotify desktop application?

#80

Nice technical read, but to be honest, the moment I find another app that does what I need I will gladly leave Spotify behind. Apart from the general slugginess of the app, the number of features that have been removed over the last couple of months is staggering. Just some examples, in case someone from Spotify in a position to fix this is reading this: * Searching in playlists was removed * Searching in local files…

I believe that the main reason for not being able to disable 'Spotify Connect' is that the functionality is being used to prevent people from sharing Spotify accounts. This became particularly clear in the last version of Spotify when they made it impossible to set the Spotify client in 'Offline' mode if the phone was already connected using 'Spotify Connect' (the 'Offline' setting is being grey out). Now you have to set the phone in 'Flight mode' and then start up the Spotify client and set the Spotify client to 'Offline' mode (and then disable 'Flight mode' if you want to use Internet while listening in 'Offline' mode). So my guess is that they will never make it possible to disable 'Spotify connect'.
Post reply on HN