Open maxenced opened 3 weeks ago
https://github.com/librespot-org/librespot/discussions/1311
sp_key
in the cookies when logging in from my desktop. It's fascinating how many stupid decisions they can make in such short notice, just pushing customers away for no reasonOK, re-logged and I see the key now, but still, fuck you Spotify 🖕🏽
Being impolite does not help much , especially on a bugtracker (either here or librespot) of community developed software, with no direct link to spotify itself
I'm simply testing the waters to see if I'm the only one frustrated by this issue, or if the community agrees with my views
@rwjack if you have a solution that gives us the level of Api access we need without the need for these keys go on make a PR.
Also what do you think the oauth process does? It just allows connections without cookies or keys? No they save the keys once you do the login. Which we can't do because we currently have a manual setup using yaml configuration.
Again make a pr for either an alternate credentials process or a setup process to fetch the keys on install.
@fcusson not sure if the 2nd part of your answer is directed to my or rwjack, sorry if my initial question appeared to be rude or irrespective, was definitely not my intention. I'm really interested by what's hiding behind "the level of Api access we need". Every time I need to update my cookies I think about spending some time to understand why we need them, hence my question.
And yes, I plan to spend some time checking if we can improve this :)
I came in being pissed at spotify for breaking something that was functioning.
Meanwhile your reply absolutely reminded me of this guy, coming in like a smart ass and completely missing the point, I didn't even ask the original question lol
@maxenced @rwjack
forgot to add both in the message, and there were no ill-intent in my message. That's the sad part of messages and forum, gauging tone is sometime hard.
I can be very rhetorical some times when I speak. To make it clearer what I meant was:
So in the end, there is a reason (possibly outdated, that we need the sp_dc and sp_key). I'm unaware of a solution to this. If someone has a solution for either of the 2 solutions, please, make a PR, I would be glad to review it.
@fcusson sorry for the details, do you have in mind which part of " the api access that we want for the whole process" i should check first if I try to switch to auth code flow for ex ?
@fcusson All good bro, thanks for clarifying.
@maxenced might be purely legacy code.
I've been working on my side on spotcast v4. I currently have a functioning build that uses the Spotify OAuth implementation but with added scope. Might be promissing. This would mean moving everyone to a HomeAssistant GUI config. There's still a lot to do, since I'm basically trying a full rewrite, but I currently have:
that's awesome !! I'll wait for it then :) I think we can close this ?
@maxenced bad news on my build. I see why fondberg used the sp_dc and sp_key. There is a single section where we need to use the internal api spclient.wg.spotify.con
. This can only be done with the sp_dc and sp_key has this is not the same as the open api Spotify is providing.
I'll try to figure out something. My build has some improvements on the current state, but we would still be limited to this requirement
Not really a bug, more a question.
Every now and then, my sp dc/key expires and I have to update them. And every time I ask myself why spotcast does not use oauth workflow just as many other things / tools do.
I'm sure there is some reason, but I can't get it, could you explain or point me to explanation ?