mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 09:25:49 +03:00
[PR #275] [MERGED] Allow shuffling context playback from CLI #699
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#699
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/275
Author: @rudiejd
Created: 10/22/2023
Status: ✅ Merged
Merged: 10/23/2023
Merged by: @aome510
Base:
master← Head:shuffle-playlists-cli📝 Commits (4)
94d2ae1feat: allow shuffling context playback from CLI127ce23respond to feedback4b6271afinish responding to feedback, run cargo fmt4948ba7Update spotify_player/src/client/mod.rs📊 Changes
7 files changed (+45 additions, -12 deletions)
View changed files
📝
spotify_player/src/cli/client.rs(+10 -6)📝
spotify_player/src/cli/commands.rs(+7 -0)📝
spotify_player/src/cli/handlers.rs(+7 -1)📝
spotify_player/src/cli/mod.rs(+13 -3)📝
spotify_player/src/client/mod.rs(+4 -1)📝
spotify_player/src/event/mod.rs(+1 -1)📝
spotify_player/src/event/window.rs(+3 -0)📄 Description
Closes https://github.com/aome510/spotify-player/issues/239
I did this by adding an option that would change the playback context to shuffle. The other option that immediately occurred to me was to shuffle all tracks in the playback locally in the same way that
StartLikedTracks, but that shifts computation to the client and doesn't achieve the desired result IMO🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.