mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 09:25:49 +03:00
[PR #194] [MERGED] Extend CLI functionalities #658
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#658
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/194
Author: @aome510
Created: 5/8/2023
Status: ✅ Merged
Merged: 5/10/2023
Merged by: @aome510
Base:
master← Head:extend-cli-func📝 Commits (10+)
de74677add--offsettoplayback volumecommandf1b67acaddadd_context_argshelper functionce47547renamecli::sockettocli::clientba68788updated handlers for commands involving context to use newContextstruct158dc81updated handling code forGetContextcommandf5718fahandle bad request with get commanda28ba04updated handling codes forCommand::Starte0dfb83renameContextIdtoIdOrNameto re-use the struct64ef5b1addconnectsubcommand and its handler5aee65cimplement cli command to start liked tracks playback📊 Changes
7 files changed (+598 additions, -268 deletions)
View changed files
➕
spotify_player/src/cli/client.rs(+398 -0)📝
spotify_player/src/cli/commands.rs(+72 -14)📝
spotify_player/src/cli/handlers.rs(+71 -17)📝
spotify_player/src/cli/mod.rs(+54 -6)➖
spotify_player/src/cli/socket.rs(+0 -229)📝
spotify_player/src/client/mod.rs(+2 -2)📝
spotify_player/src/main.rs(+1 -0)📄 Description
Resolves #184
Changes
playback startcommand:playback start context|liked|radioidornamefor a Spotify item as a command's argumentplayback likeconnectgetcommands upon errorsplayback volumecommand to support increasing/decreasing volume by an offset🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.