mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[PR #1206] [CLOSED] Fix credential cache not being used, forcing re-authentication for every download #1277
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#1277
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/1206
Author: @Laiteux
Created: 9/28/2023
Status: ❌ Closed
Base:
master← Head:master📝 Commits (1)
ceab10fFix credential cache not being used📊 Changes
1 file changed (+29 additions, -3 deletions)
View changed files
📝
core/src/session.rs(+29 -3)📄 Description
Fixes #1168!
This PR makes the cache work, reusing
auth_datafrom the credential cache.Even faster downloads now, since no authentication has to be done again every time.
This is my first time working with Rust at all, so please let me know if anything could/should have been done better (:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.