mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 09:25:49 +03:00
[PR #418] [MERGED] Refactor client request handling module #754
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#754
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/418
Author: @aome510
Created: 4/20/2024
Status: ✅ Merged
Merged: 4/20/2024
Merged by: @aome510
Base:
master← Head:handle-player-events📝 Commits (6)
6826aa9move ClientRequest,PlayerRequest to client::request module679fd62makeClient::spotifyprivate140203brefactor client request handling codes' comment/documentation568c920update playback upon receiving new player event9482f58fix clippy no-default-features7b34443cleanup📊 Changes
14 files changed (+380 additions, -452 deletions)
View changed files
📝
spotify_player/src/cli/client.rs(+15 -36)📝
spotify_player/src/cli/handlers.rs(+2 -1)📝
spotify_player/src/client/handlers.rs(+6 -7)📝
spotify_player/src/client/mod.rs(+248 -298)➕
spotify_player/src/client/request.rs(+68 -0)📝
spotify_player/src/client/spotify.rs(+12 -12)📝
spotify_player/src/event/mod.rs(+1 -67)📝
spotify_player/src/main.rs(+11 -10)📝
spotify_player/src/media_control.rs(+1 -1)📝
spotify_player/src/state/model.rs(+2 -3)📝
spotify_player/src/state/player.rs(+4 -7)📝
spotify_player/src/streaming.rs(+8 -9)📝
spotify_player/src/ui/playback.rs(+1 -1)📝
spotify_player/src/utils.rs(+1 -0)📄 Description
Resolves #415
Changes
ClientRequestandPlayerRequestfromeventmodule toclient::requestmodule🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.