Live data from Hacker News

Spotifyd

github.com

81–90 of 242 posts

Re: Spotifyd

#82
Too little, too late.

I've been struggling with Spotify's messed up developer experience for years. They deprecated libspotify years ago without an alternative, promised an upcoming alternative for years, and they eventually pulled the plug last year without even bothering to provide an alternative.

I've tested Librespot in the meantime, but it proved too cumbersome to configure and use as a non-standalone executable.

In the meantime mopidy-spotify (the project I've used for years on my RPis) has gone all the way to adding a Docker image just to support Librespot and the whole Rust environment that is required to build it. And, of course, it's not guaranteed that these projects will survive - Spotify can easily snap their fingers, change their API in a breaking way, and we're forced to play a catch-up game again. They have already done so in the past.

I therefore decided that a company that doesn't value my consumption use-cases, doesn't bother for the time I waste to adapt to their changes, and has a bad record of developer experience, is not worth my money. I wish the best of luck to the guys behind spotifyd, but I'm personally done after 10 years of chasing Spotify.

I've moved to Tidal in the meantime. It's still far from perfect, it still lacks an official Linux client and it's more buggy than Spotify. But at least there's a reversed engineered web API that so far they haven't bothered to fight nor change. And that's really all I need to build my music experience.

Re: Spotifyd

#83
post #18

Earlier quoted context omitted.

> However Spotify doesn't agree. My naive assumption is that Spotify would love to, but the record labels don't agree.

Could be. When Spotify was young they were extremely developer and ecosystem friendly. It gets progressively worse and worse over time. The biggest change I personally suffered from is when they pulled out of their integration with Djay, a DJ app. This integration was amazing for bedroom DJs like myself, being able to use Spotify to organize DJ music and DJ directly from it. Then they sunset the entire integration. N…

I think the integration was initially scrapped due to problems with licensing (streams <30s don't result in a payout, and after that 100% payout; so it's either unfair or expensive under the current model). Good question about why they're leaving the space to their competitors.

Re: Spotifyd

#84

Earlier quoted context omitted.

Is your web app open source? Maybe this is just me, but I take an issue with projects that use GitHub's community features but don't publish their source code. Feels somewhat unfair.

Currently not open source but I long have been thinking about open sourcing it. What's wrong with using GH community features? It's a side / passion project so no time or budget to build any support or community stuff. I considered GitHub, Reddit and Discord and all have pros/cons.

Nothing technically wrong, but GitHub is primarily a code host, the "code place", if you will. So when people use it for issues/feedback its mostly because they have the supporting source on the side.

Re: Spotifyd

#85

Always great to see new ways to integrate with Spotify. I think that if you're paying for a Spotify Premium subscription you should be able to stream music wherever you want! However Spotify doesn't agree. If this is based on librespot its using stuff Spotify doesn't support and could easily shut down for unauthorized clients any time. Their supported paths are iOS and Android SDKs for mobile, and the Web Playback SD…

Is your web app open source? Maybe this is just me, but I take an issue with projects that use GitHub's community features but don't publish their source code. Feels somewhat unfair.

No post body was provided.

Re: Spotifyd

#86
post #75

I used something different. Basic details for your entertainment/edification/comedy source material follow mostly so you can shortcut a comparison if you're building something at your place. 1) Pi-zero running shairport-sync (couldn't get them, got orange-pi zero 2 which works great) https://github.com/mikebrady/shairport-sync . I have a few of these. 2) Class D amp, Aiyima, Fosi, Loxjie etc Aliexpress is one place t…

Does this actually keep the audio in sync across different Pis or do you have wire runs across the house for each room’s speakers?

orange-pi zero 2 boxes attached to wifi or ethernet for input and output to class D amp and speakers, also have to power them. You put the pi's running shairport sync where you want the speakers.

Eg plug the pi into power and the amp, plug the amp into power and the speakers. No other wires.

They all synchronise perfectly over wifi or ethernet, which is the point of shairport-sync. They identify themselves on your network as AirPlay 1 speakers. Note that they actually work with the spotify app directly in a reliable way just like AppleTV doesn't - your AppleTV will require a reboot every time you want it to be the output of spotify. So either I'm a better engineer with off the shelf parts and open source software than apple's full time paid professional engineers or maybe Spotify has a point when complaining about Apple non-competitive behaviour? I wish it were the former but somehow doubt it.

Re: Spotifyd

#88

Earlier quoted context omitted.

> but honestly hasn't much improved the lot of artists and musicians As a consumer of music, why is this my problem?

This is a rhetorical question, right? If you consume music then surely, you want the artists and musicians you support to be paid fairly for their work.

I prefer a world that supports artists to one that doesn't, but from a purely selfish perspective, there's already so much recorded music that I do love or will, if/when I eventually discover it, love, that I wouldn't run out of novel, great material that's to my taste, in two lifetimes. There are whole major genres I've barely even touched so far.

The effect on my lifetime QOL would be basically zero if no new commercial music were created ever again.

Re: Spotifyd

#89

This is why I bought 5-6 Chromecast audio devices before they got nuked - they do exactly this (and other streaming services). Yea it's tied somewhat to Google, but it's a simple easy to deploy puck that just works. Not to suggest the hard work that's gone into this isn't awesome, because it is!

can we get the same behavior on windows or linux computers? I have an Youtube music premium subscription and would like to control my computer which is connected to a very beefy set of speakers from my cellphone's youtube music client.

Re: Spotifyd

#90
Some other setups already in the comments, but to chime in with my own:

I gave up on 3rd party things. My automation VM includes a GUI environment, and I run the official Linux Spotify client. The only way my setup can break is if Spotify gives on Linux entirely.

Snapcast[1] transmits two streams to 7 different speaker setups:

  * Music + text to speech
  * Just text to speech
When TTS plays on the first stream, music volume is ducked for the duration. That setup is all pulseaudio junk. I could actually play any system audio to my entire house, or even provide an 3.5mm aux input near the VM host, although in practice I stick to Spotify for convenience and the ability to use the clients on any machine to control everything.

Speakers in some rooms turn on/off completely with the room, while others stay on but toggle between music and text-to-speech, to make sure I hear those notices (which are like doors opening, washer is done, etc).

My main work setup has a snapcast client, so I hear TTS events even with noise canceling headphones on. Some snapcast clients are placed on existing machines (i.e. TV computer), while a few are dedicated Raspberry Pis.

[1] https://github.com/badaix/snapcast

Post reply on HN