Live data from Hacker News

Spotifyd

github.com

71–80 of 242 posts

Re: Spotifyd

#71
post #18

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…

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

Qobuz and Tidal both have developer friendly APIs. You can absolutely build your own client.

Roon will index either or both of them with your local mp3 library. It decorates with third-party metadata services, and will stream hi-res to almost any hardware device you can throw at it.

Re: Spotifyd

#72

Earlier quoted context omitted.

You don't think it has any impact? Even on the margins? I think it's basically expected that musicians will give up some day and join the working world, in part because it's so hard to make a living in. If it's harder to make a living -> more people give up -> less music. If it's easier -> fewer people give up -> more music.

It’s not a question of whether it has no impact or not because that’s irrelevant. You would actively have to punish people for making music in order for music not to be made—that’s how strong that force is. (Well heck, maybe more music would be made in that case, out of spite and rebellion.)

No music at all is not the concern, music you like not being made by artists you admire is the concern. This is basically the entire premise of Patreon btw.

Re: Spotifyd

#73
post #69

Earlier quoted context omitted.

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.

Can you or jrm4 explain why Spotify's royalty system (a 70/30 split in favour of the rights holder) is unfair? If I had to guess I'd say it convinces artists to license their work for less money than they'd make if they stuck it on Bandcamp, but I'm not certain, and neither of you has explained it.

Spotify don’t pay 70/30 and the actual payout is not related to what individuals actually listen to.

For example, I could spend a month listening to only indie artists, but the lion’s share of my subscription would be paid out to major labels.

Re: Spotifyd

#74
post #18

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…

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

[deleted]

Re: Spotifyd

#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 to get these. I've used and like Aiyima A03 and their ali store delivers fast.

3) Some nice, high-quality, 2nd hand speakers you like. Wharfedale, JBL, B&W, Acoustic Research, Yamaha. (Or get some active speakers you like and skip #2, eg B&O beolab 6000)

4) owntone (formerly known as forked-daapd) https://owntone.github.io/owntone-server/

5) configure owntone with your spotify premium, takes less than a minute. (And with your music that you own - takes longer because you take more care).

You now have a multiroom setup with fantastic sound that you can control with http://owntone.local:3689/ including with your phone. And/or you can use the "Retune" app on droid and apple's "itunes remote" app on ios. Better sound than most alternatives for less dollars.

All integrates well with Homeasistant because of course it does.

I really like how mine turned out. Having half a dozen sets of speakers all playing the same music in perfect sync as you move from one room to another while doing chores on the weekend fills me with more joy that I would have guessed. YMMV.

Re: Spotifyd

#76
post #39

What i find the most interesting is the zeroconf option [0]. For example you can set up your spotifyd daemon on a raspberry and have it always connected to speakers. Now when someone is in your local network they can choose your spotifyd daemon and play spotify over the speakers without connecting to the speakers directly via bluetooth etc. [0] https://spotifyd.github.io/spotifyd/config/File.html (after the configura…

I've got a setup where I play photo slideshows on my TV, and also want to play Spotify through my TV/speakers. I've resorted to just spinning up a Spotify webview when the RPI boots XFCE, and it works pretty reliably so far.

Re: Spotifyd

#77

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…

> If this is based on librespot It's built on RSpotify, which describes itself as: > RSpotify is a wrapper for the Spotify Web API, inspired by spotipy. It includes support for all the authorization flows, and helper functions for all endpoints.

librespot is a dependency: https://github.com/Spotifyd/spotifyd/blob/db25d12d7211bea9cd..., https://github.com/Spotifyd/spotifyd/blob/00f52f983ce0d2162e...

Re: Spotifyd

#78

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…

> If this is based on librespot It's built on RSpotify, which describes itself as: > RSpotify is a wrapper for the Spotify Web API, inspired by spotipy. It includes support for all the authorization flows, and helper functions for all endpoints.

According to spotifyd/Cargo.toml is uses both librespot and rspotify.

Librespot is the a level playback client that reverse engineered what the native Spotify desktop apps do to get, decode and play a music stream as a connected device.

RSpotify is a high level client that uses the Spotify Web API which can control what is playing on any connected device.

Neither of which should be confused with the Spotify Web Playback SDK which turns your browser into a connected device provided it supports the right DRM bits.

https://developer.spotify.com/documentation/web-playback-sdk...

Re: Spotifyd

#79

Earlier quoted context omitted.

You don't think it has any impact? Even on the margins? I think it's basically expected that musicians will give up some day and join the working world, in part because it's so hard to make a living in. If it's harder to make a living -> more people give up -> less music. If it's easier -> fewer people give up -> more music.

It’s not a question of whether it has no impact or not because that’s irrelevant. You would actively have to punish people for making music in order for music not to be made—that’s how strong that force is. (Well heck, maybe more music would be made in that case, out of spite and rebellion.)

Yes, that is true.

But there is quantity and there is quality.

So surely there would be also some gifted people who happen to have the luxory to focus completely on the music they want to make, but those would be the exception.

Re: Spotifyd

#80
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?
Post reply on HN