Live data from Hacker News

Spotube: Open-source Spotify-Youtube client

github.com

421–430 of 661 posts

Re: Spotube: Open-source Spotify-Youtube client

#421
post #395

Earlier quoted context omitted.

>Everything isn't NYC or SFBay. Never said it was, I just pointed to two areas where $70k doesn't go very far. Simple as that. Edit: Your comment is very "I"-centric. Nobody cares about how many cars you have owned, because your life experience cannot be copy/pasted to everyone else. It's like you've missed the point.

Jesus. The point was that people are, and can be content on living in SF and NYC on under $100k. It's offensive that you think that every single person who makes 70k or whatever range is living in a box filled with rats or whatever you think it is. Who do you think cooks, cleans, and serves drinks to people in SF/NYC? Sorry they aren't up to your standards living wise.

I never said they're not content. I said that people making $70k in those areas might not be able to afford the same things you can, up to and including Spotify.

That's. All. I never said that that's how everyone lived, I just said that not everybody making 70k lives comfortably. That could be one person, it could be a handful.

I never blanket generalized, you did by saying everyone making $70k should live just fine. All I said was, "That's not always the case", and now you're trying to say that I think everyone living in those areas making $70k are scum.

You need to relax.

Re: Spotube: Open-source Spotify-Youtube client

#423
Protip: librespot doesn't actually require premium

Just modify the authentication code in https://github.com/librespot-org/librespot-golang/blob/maste... to look something like this:

        packet := &Spotify.ClientResponseEncrypted{
                LoginCredentials: &Spotify.LoginCredentials{
                        Username: proto.String(username),
                        Typ:      authType,
                        AuthData: authData,
                },
                AccountCreation: Spotify.AccountCreation_ACCOUNT_CREATION_ALWAYS_PROMPT.Enum(),
                SystemInfo: &Spotify.SystemInfo{
                        CpuFamily: Spotify.CpuFamily_CPU_X86_64.Enum(),
                        CpuSubtype:              proto.Uint32(0),
                        Brand: Spotify.Brand_BRAND_UNBRANDED.Enum(),
                        BrandFlags:              proto.Uint32(0),
                        Os:                      Spotify.Os_OS_LINUX.Enum(),
                        OsVersion:               proto.Uint32(0),
                        OsExt:                   proto.Uint32(0),
                        SystemInformationString: proto.String("Linux [x86-64 0]"),
                        DeviceId:                proto.String("libspotify"),
                },
                PlatformModel: proto.String("PC desktop"),
                VersionString: ...,
                ClientInfo: &Spotify.ClientInfo{
                        Limited:  proto.Bool(false),
                        Language: proto.String("en"),
                },
        }

In the go version of the library they set some boolean in the request that makes it not work with free accounts but if you change it to this it will work. You can also use this Wireshark dissector to read Spotify protobuf messages directly: https://github.com/plietar/spotify-analyze/blob/master/disse...

Then you can make the authentication packet look exactly like the desktop client (though this is not required because Spotify has lax validation).

Re: Spotube: Open-source Spotify-Youtube client

#424

Earlier quoted context omitted.

> But when it comes time to pay for content, those people rarely are willing to pony up. You can see this happening with journalism, music, apps, etc. I think this sentiment is wrong. Personally, I pay for content and services that I find value adding (Kagi, Fastmail, etc.) That said: I am never going to pay for YouTube. The issue is that the entire platform and all of its content is catered to ad-revenue . I could b…

> Personally, I pay for content and services that I find value adding While it would be a convenient reality, the people on HN are not even close to representative of the general population, and you can't generalize their tendencies. How many Kagi and Fastmail users are there compared to Google and Microsoft? Look at Google Play reviews for apps that front paid services: even for astonishingly cheap ones, a considera…

I am quite sure I do not have the ethical card in any of these discussions. I also pay way less than the combined sum of the value I receive from the internet.

But there is a marketplace. And the content of YouTube is not worth the price of YouTubes premium offerings because they embed ads. Ie. I pay to remove YouTube's ads, but not video sponsorships.

That would be like paying for Kagi and still only be presented SEO-optimized worthless content – I pay for Kagi because I feel like they can filter away that content much better than Google.

I am saying that a product you pay for is not the same as an ad-supported product. It is not just about stripping the product of ads after the user has paid.

So everybody not willing to pay for a Gmail offering without ads, I completely understand them.

Re: Spotube: Open-source Spotify-Youtube client

#426

Earlier quoted context omitted.

> If there was a way to configure my players to fingerprint the content and send money to the artist as I play it There isn't. I fail to see how piracy helps artists today.

It drives movie and concert ticket sales. It could do more and we should fix that. Do you also fail to see how investment in technology that prevents certain groups from getting certain information harms everyone tomorrow? It's not like they'd have retool completely if they pivoted from censoring Finding Nemo because you're the wrong kind of customer to censoring political dissent because you're the wrong kind of cit…

> protecting an artist paycheck is just not as important as protecting user freedom

Not in my book but thanks for the perspective.

I feel my freedom to enjoy some music someone made on their own time has zero priority over said artist paying their bills.

Re: Spotube: Open-source Spotify-Youtube client

#427

As an aside, I think YouTube Music is superior to Spotify in terms of music catalog. You get "everything on Spotify" (high quality audio) plus the YouTube videos (eg mixes that are put up) in a battery-friendy player (possibility to go audio only on these videos). Of course minimizable with YT Premium. I believe that the discoverability algo is much better with YouTube Music as well, which is important to me... I pay…

Fully agree, it is the most underrated platform.

Ultimately, it comes down to the catalog. Anything even slightly more obscure (older house music, rare b-sides, unreleased tracks) just isn’t found on Spotify. Pretty much everything is on YouTube though.

Re: Spotube: Open-source Spotify-Youtube client

#428
post #56

Earlier quoted context omitted.

I’m sort of surprised it’s considered a good thing. Some of my favourite programs use electron, like visual studio code. I haven’t used Spotify though, so maybe that is one of the many electron apps that suck? I was very unimpressed by flutter when we PoC it at work, but that was years ago, so maybe it’s gotten better since.

VSCode couldn't support multiple windows until just recently, entirely because of a limitation from the early days of Electron. When "multiple windows" is a feature to be announced (as if weren't trivial on any native stack), you know it's a sad state is affairs.

> VSCode couldn't support multiple windows until just recently, entirely because of a limitation from the early days of Electron.

That sounds like Microsoft deflecting blame. You've been able to do multiple windows for a very long time in Electron, I remember being able to do so in 2019 at the very least, and the book "Electron in Action" (https://www.manning.com/books/electron-in-action) even have a chapter dedicated to it, a book which was released in 2018.

Re: Spotube: Open-source Spotify-Youtube client

#429
post #56

Earlier quoted context omitted.

I’m sort of surprised it’s considered a good thing. Some of my favourite programs use electron, like visual studio code. I haven’t used Spotify though, so maybe that is one of the many electron apps that suck? I was very unimpressed by flutter when we PoC it at work, but that was years ago, so maybe it’s gotten better since.

Spotify Desktop also doesn't exactly use Electron, but 1 layer below: CEF

Also, they've used CEF since before Electron was even a thing (before Atom even).

Re: Spotube: Open-source Spotify-Youtube client

#430

Nifty. Please be aware that this is not a "spotify client" per se. It gets the data from Spotify, and plays the audio from YouTube. It's an interesting invention, and worthy of the first page, if you ask me.

oh ok... I'd have tried it, but I pay for good audio quality so I won't :)

He says as he plays his music over Bluetooth… :)
Post reply on HN