mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 09:25:49 +03:00
[PR #2] [MERGED] Librespot integration Part I: use librespot for authentication #1502
Labels
No labels
bug
documentation
enhancement
good first issue
help wanted
pull-request
question
third-party
third-party
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-player#1502
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/aome510/spotify-player/pull/2
Author: @aome510
Created: 8/22/2021
Status: ✅ Merged
Merged: 8/22/2021
Merged by: @aome510
Base:
master← Head:librespot-integration📝 Commits (10+)
d2438f7not panic the client thread when failing to refresh the auth tokend291d45try blocking rspotify5b14600addaboutsection4b47eaeadd librespot libraries0519eb9uselibrespotto get auth token and construct the application's clientee1a07cMerge branch 'use-blocking-rspotify' into librespot-integrationa07eb86update application's client codes post switching to rspotify blocking client4f16e0brefresh token upon expiring57dd26dadd cache folder option, clean application init codes360cdeduselibrespotcached credentials📊 Changes
18 files changed (+1122 additions, -531 deletions)
View changed files
📝
Cargo.lock(+729 -157)📝
README.md(+1 -31)➖
examples/callback.png(+0 -0)➖
examples/callback_docker.png(+0 -0)📝
spotify_player/Cargo.toml(+7 -3)➕
spotify_player/src/auth.rs(+80 -0)📝
spotify_player/src/client.rs(+123 -190)📝
spotify_player/src/command.rs(+2 -3)📝
spotify_player/src/config/keymap.rs(+4 -4)📝
spotify_player/src/config/mod.rs(+7 -20)📝
spotify_player/src/event.rs(+24 -24)📝
spotify_player/src/main.rs(+28 -65)📝
spotify_player/src/state/mod.rs(+26 -1)📝
spotify_player/src/state/player.rs(+6 -6)📝
spotify_player/src/state/ui.rs(+3 -3)➕
spotify_player/src/token.rs(+58 -0)📝
spotify_player/src/ui/mod.rs(+1 -1)📝
spotify_player/src/ui/popup.rs(+23 -23)📄 Description
Brief description of changes
librespot-coreandlibrespot-playbackfor Librespot integrationlibrespottoken for authentication and interacting with Spotify Web APIsrspotify::blocking::clientfrom the async clientSwitchDevicecommand and its handlersclient_secretandclient_id) documentation🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.