mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 17:35:50 +03:00
[PR #290] [MERGED] Support handling CLI commands without a running application instance #1641
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#1641
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/290
Author: @aome510
Created: 11/12/2023
Status: ✅ Merged
Merged: 11/13/2023
Merged by: @aome510
Base:
master← Head:cli-without-running-instance📝 Commits (6)
d2f0c5ehandle "start liked tracks" CLI command with cachedd2d1ebdecouple CLI request handling codes from application's state (optional cache)597d856movemute_statefromPlayerStatetoSimplifiedPlaybackbfe296fhandle CLI commands without a running application instance5bc97f6update CLI commands README213ac1dcleanup📊 Changes
8 files changed (+229 additions, -150 deletions)
View changed files
📝
README.md(+6 -5)📝
spotify_player/src/cli/client.rs(+125 -78)📝
spotify_player/src/cli/handlers.rs(+43 -10)📝
spotify_player/src/client/mod.rs(+21 -33)📝
spotify_player/src/main.rs(+14 -9)📝
spotify_player/src/state/model.rs(+16 -0)📝
spotify_player/src/state/player.rs(+2 -4)📝
spotify_player/src/ui/playback.rs(+2 -11)📄 Description
Resolves #279
Changes
spotify_playerinstancemute_statefromPlayerStatestruct toSimplifiedPlaybackstructBenchmarks
Without a running instance
playback nextget key playbackWith a running instance
playback nextget key playback🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.