mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 09:25:49 +03:00
[PR #159] [MERGED] Implement spotify-player's CLI commands #647
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#647
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/159
Author: @aome510
Created: 3/18/2023
Status: ✅ Merged
Merged: 4/26/2023
Merged by: @aome510
Base:
master← Head:implement-app-api📝 Commits (10+)
5b8b0c0implement a simple "get playback" cli commandd7b0437implement get commands for several keys80a2106add and parse someplaybackcommandsb991dd2handle pause,next,shuffle,repeat commands0fa1cd2refactor cli codes and602641drefactorgetcommand handler codes usingclap::ValueEnum17189c8addUserSavedAlbumsandUserFollowedArtiststo the supported keys6b9746dadd basic handler for playback play commande42afe9implement get context commandb88f1cdallow volume to be 100📊 Changes
10 files changed (+765 additions, -199 deletions)
View changed files
📝
Cargo.lock(+243 -144)📝
spotify_player/Cargo.toml(+1 -1)➕
spotify_player/src/cli/commands.rs(+67 -0)➕
spotify_player/src/cli/handlers.rs(+102 -0)➕
spotify_player/src/cli/mod.rs(+52 -0)➕
spotify_player/src/cli/socket.rs(+218 -0)📝
spotify_player/src/client/mod.rs(+5 -5)📝
spotify_player/src/config/mod.rs(+4 -0)📝
spotify_player/src/main.rs(+65 -44)📝
spotify_player/src/state/model.rs(+8 -5)📄 Description
Resolves #111.
Partially #103.
Changes
Added CLI commands and subcommands
get:get key:get contextplayback🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.