mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
Labels
No labels
A-Alsa
SpotifyAPI
Tokio 1.0
audio
bug
can't reproduce
compilation
dependencies
duplicate
enhancement
good first issue
help wanted
high priority
imported
imported
invalid
new api
pull-request
question
reverse engineering
wiki
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librespot#1299
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/librespot-org/librespot/pull/1246
Author: @lmore377
Created: 1/19/2024
Status: ❌ Closed
Base:
dev← Head:auth-token-from-login5-lmore377📝 Commits (10+)
96e02fdKingosticks change: Obtain spclient access token using login5 instead of keymaster (Fixes librespot-org#1179)ba08273Kingosticks change: Obtain spclient access token using login5 instead of keymaster (Fixes librespot-org#1179)f065908Merge branch 'librespot-org:dev' into auth-token-from-login5a54cc8fMerge branch 'librespot-org:dev' into auth-token-from-login5f815318Kingosticks change: Obtain spclient access token using login5 instead of keymaster (Fixes librespot-org#1179)40c2a4dMerge branch 'librespot-org:dev' into auth-token-from-login587dddf2Merge branch 'auth-token-from-login5' of https://github.com/Gerrelt/librespot into auth-token-from-login5726ebecBump zerocopy from 0.7.26 to 0.7.313dde1caReplace the apparently unmaintained hex crate with data-encoding9101eebspclient: improve token request logging📊 Changes
3 files changed (+109 additions, -6 deletions)
View changed files
📝
core/src/session.rs(+10 -0)📝
core/src/spclient.rs(+92 -6)📝
protocol/build.rs(+7 -0)📄 Description
This PR is a copy of #1220 as that one seems stale. This resolves the issue where authentication fails when spotify connect is started from a desktop client.
Fixes #1179 and #1245. Tested and works with clients from Android, iOS, Windows, Linux and macOS.
I still need to resolve the review comments from #1220, I'm just opening this now to keep track of changes.
I'm very inexperienced when it comes to rust so please be gentle 😆
Credits:
@kingosticks - Created the initial branch with the fix
@Gerrelt - Created the PR that this one is based on
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.