[PR #222] [MERGED] Playlist CLI Editing - New, Delete, Import, Fork, Update #1611

Closed
opened 2026-03-14 15:23:16 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/aome510/spotify-player/pull/222
Author: @justjokiing
Created: 7/23/2023
Status: Merged
Merged: 8/5/2023
Merged by: @aome510

Base: masterHead: master


📝 Commits (10+)

  • 1fc68e6 Playlist new and clap setup for other commands
  • dd39cf0 Playlist delete and command output
  • 9cdc9a5 Playlist list and socket output formatting
  • 90ef6c0 feat: Playlist import
  • e68a3cb Merge remote-tracking branch 'upstream/master'
  • 1d38f2d feat: Playlist fork - copy of playlist + import
  • 955ad4e feat: Playlist fork - Copy and import
  • 1476951 feat: Playlist Update - update all/one import(s)
  • 9d81781 fix: PlaylistCommand enum and small edits
  • 6d99893 fix: buffered add and full playlist tracks

📊 Changes

6 files changed (+504 additions, -7 deletions)

View changed files

📝 README.md (+9 -0)
📝 spotify_player/src/cli/client.rs (+324 -6)
📝 spotify_player/src/cli/commands.rs (+50 -0)
📝 spotify_player/src/cli/handlers.rs (+93 -1)
📝 spotify_player/src/cli/mod.rs (+27 -0)
📝 spotify_player/src/main.rs (+1 -0)

📄 Description

Added playlist CLI commands:

spotify_player playlist -h

Playlist editing

Usage: spotify_player playlist <COMMAND>

Commands:
  new     Create a new playlist
  delete  Delete a playlist
  import  Imports all songs from a playlist into another playlist.
  list    Lists all user playlists.
  fork    Creates a copy of a playlist and imports it.
  sync    Syncs imports for all playlists or a single playlist.
  help    Print this message or the help of the given subcommand(s)

Options:
  -h, --help  Print help

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/aome510/spotify-player/pull/222 **Author:** [@justjokiing](https://github.com/justjokiing) **Created:** 7/23/2023 **Status:** ✅ Merged **Merged:** 8/5/2023 **Merged by:** [@aome510](https://github.com/aome510) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (10+) - [`1fc68e6`](https://github.com/aome510/spotify-player/commit/1fc68e6bffda1dfdf7e1a5aeecc2ec6419da0c73) Playlist new and clap setup for other commands - [`dd39cf0`](https://github.com/aome510/spotify-player/commit/dd39cf0160d2edddeb93041ad396b93a7a930b46) Playlist delete and command output - [`9cdc9a5`](https://github.com/aome510/spotify-player/commit/9cdc9a57c31d15d796284390df969533249a1de1) Playlist list and socket output formatting - [`90ef6c0`](https://github.com/aome510/spotify-player/commit/90ef6c03652a885bbbc16e803cbc4c8691b598c2) feat: Playlist import - [`e68a3cb`](https://github.com/aome510/spotify-player/commit/e68a3cbf8839c2eacc8e71bb071b1517e682725c) Merge remote-tracking branch 'upstream/master' - [`1d38f2d`](https://github.com/aome510/spotify-player/commit/1d38f2dc24aef8085d2dfc17fcdaf0ffe90ca702) feat: Playlist fork - copy of playlist + import - [`955ad4e`](https://github.com/aome510/spotify-player/commit/955ad4ef2adf988d4d7125fa90611cf9992d0749) feat: Playlist fork - Copy and import - [`1476951`](https://github.com/aome510/spotify-player/commit/147695155a6569488dafc6794980dbb2dc6af010) feat: Playlist Update - update all/one import(s) - [`9d81781`](https://github.com/aome510/spotify-player/commit/9d8178145f67735c2cbd66054b40af8054f4b50a) fix: PlaylistCommand enum and small edits - [`6d99893`](https://github.com/aome510/spotify-player/commit/6d99893d5188ef9fd2d3bc2eb9c43694bd42647b) fix: buffered add and full playlist tracks ### 📊 Changes **6 files changed** (+504 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+9 -0) 📝 `spotify_player/src/cli/client.rs` (+324 -6) 📝 `spotify_player/src/cli/commands.rs` (+50 -0) 📝 `spotify_player/src/cli/handlers.rs` (+93 -1) 📝 `spotify_player/src/cli/mod.rs` (+27 -0) 📝 `spotify_player/src/main.rs` (+1 -0) </details> ### 📄 Description Added `playlist` CLI commands: ``` spotify_player playlist -h Playlist editing Usage: spotify_player playlist <COMMAND> Commands: new Create a new playlist delete Delete a playlist import Imports all songs from a playlist into another playlist. list Lists all user playlists. fork Creates a copy of a playlist and imports it. sync Syncs imports for all playlists or a single playlist. help Print this message or the help of the given subcommand(s) Options: -h, --help Print help ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-14 15:23:16 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotify-player#1611
No description provided.