[PR #790] Feat/playlist edit name support #1815

Open
opened 2026-03-14 15:34:30 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/aome510/spotify-player/pull/790
Author: @tojamrok
Created: 7/31/2025
Status: 🔄 Open

Base: masterHead: feat/playlist-edit-name-support


📝 Commits (10+)

  • c7434c8 feat: add playlist edit command for adding/removing tracks
  • a6f05f1 Implement playlist edit <add|delete> --album-id CLI command
  • 6fd3dd1 feat: add name-based support to playlist edit command
  • 33ad96d only update count prefix after command/action is handled
  • f820228 Feature: Add ability to jump to search result (#748)
  • e7ef79a ArchLinux install process update (#761)
  • cf12372 feat: make playback metadata fields configurable (#756)
  • 7f3c518 Add Support for RTL text in most UI elements (#759) (#760)
  • 2dd4c16 Pre-release v0.20.7 (#780)
  • 279ce89 update version from yanked version 0.23.30 to latest version 0.23.31 (#788)

📊 Changes

37 files changed (+1941 additions, -1529 deletions)

View changed files

.github/workflows/weekly-playlist-update-2.yml (+88 -0)
.github/workflows/weekly-playlist-update.yml (+88 -0)
📝 Cargo.lock (+693 -1084)
📝 README.md (+85 -63)
📝 docs/config.md (+35 -35)
📝 examples/app.toml (+2 -1)
📝 lyric_finder/Cargo.toml (+2 -2)
playlist_generator.tcl (+80 -0)
playlist_scraper.tcl (+77 -0)
📝 spotify_player/Cargo.toml (+21 -20)
📝 spotify_player/src/auth.rs (+26 -24)
📝 spotify_player/src/cli/client.rs (+156 -12)
📝 spotify_player/src/cli/commands.rs (+33 -0)
📝 spotify_player/src/cli/handlers.rs (+65 -4)
📝 spotify_player/src/cli/mod.rs (+14 -0)
📝 spotify_player/src/client/handlers.rs (+1 -1)
📝 spotify_player/src/client/mod.rs (+77 -42)
📝 spotify_player/src/client/spotify.rs (+2 -20)
📝 spotify_player/src/command.rs (+2 -0)
📝 spotify_player/src/config/keymap.rs (+4 -0)

...and 17 more files

📄 Description

feat: add name-based support to playlist edit command

Extends the playlist edit command to support name-based arguments alongside IDs:
- Add --playlist-name option as alternative to --playlist-id
- Add --track-name option as alternative to --track-id
- Add --album-name option as alternative to --album-id
- Automatically resolve names to IDs via Spotify search API
- Maintain backward compatibility with existing ID-based commands

Examples:
- spotify_player playlist edit --playlist-name "Melancholic Midnight Musings" add --track-name "Bohemian Rhapsody"
- spotify_player playlist edit --playlist-id "123" add --album-name "The Dark Side of the Moon"
- spotify_player playlist edit --playlist-name "Post-Apocalyptic Soundscapes" delete --track-name "Mad World"

🤖 Generated with Claude Code

Co-Authored-By: Claude noreply@anthropic.com


🔄 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/790 **Author:** [@tojamrok](https://github.com/tojamrok) **Created:** 7/31/2025 **Status:** 🔄 Open **Base:** `master` ← **Head:** `feat/playlist-edit-name-support` --- ### 📝 Commits (10+) - [`c7434c8`](https://github.com/aome510/spotify-player/commit/c7434c84f7a1ab7e5bc547f00979058d449415f7) feat: add playlist edit command for adding/removing tracks - [`a6f05f1`](https://github.com/aome510/spotify-player/commit/a6f05f1b0010202783930bc693f901305ec0c353) Implement playlist edit <playlist-id> <add|delete> --album-id <album-id> CLI command - [`6fd3dd1`](https://github.com/aome510/spotify-player/commit/6fd3dd16fa3c0173a614756409cc0d52692bb5fd) feat: add name-based support to playlist edit command - [`33ad96d`](https://github.com/aome510/spotify-player/commit/33ad96d4898d92295a2346e6512d4180487520fe) only update count prefix after command/action is handled - [`f820228`](https://github.com/aome510/spotify-player/commit/f820228e6115acb85b9a1ca9a28a1981889438be) Feature: Add ability to jump to search result (#748) - [`e7ef79a`](https://github.com/aome510/spotify-player/commit/e7ef79ae0d69e230b9c02a6c57c6e7108a64443d) ArchLinux install process update (#761) - [`cf12372`](https://github.com/aome510/spotify-player/commit/cf1237208781c8db6978f50b31b7f842f6ca68cf) feat: make playback metadata fields configurable (#756) - [`7f3c518`](https://github.com/aome510/spotify-player/commit/7f3c518c5116e77b7bd212a5ad8c3a5bf5da3ac0) Add Support for RTL text in most UI elements (#759) (#760) - [`2dd4c16`](https://github.com/aome510/spotify-player/commit/2dd4c16441dc1fcef9d07eed98d2536c9e941aee) Pre-release `v0.20.7` (#780) - [`279ce89`](https://github.com/aome510/spotify-player/commit/279ce89ef410390988c985c1bde232b3a1fd64cb) update version from yanked version 0.23.30 to latest version 0.23.31 (#788) ### 📊 Changes **37 files changed** (+1941 additions, -1529 deletions) <details> <summary>View changed files</summary> ➕ `.github/workflows/weekly-playlist-update-2.yml` (+88 -0) ➕ `.github/workflows/weekly-playlist-update.yml` (+88 -0) 📝 `Cargo.lock` (+693 -1084) 📝 `README.md` (+85 -63) 📝 `docs/config.md` (+35 -35) 📝 `examples/app.toml` (+2 -1) 📝 `lyric_finder/Cargo.toml` (+2 -2) ➕ `playlist_generator.tcl` (+80 -0) ➕ `playlist_scraper.tcl` (+77 -0) 📝 `spotify_player/Cargo.toml` (+21 -20) 📝 `spotify_player/src/auth.rs` (+26 -24) 📝 `spotify_player/src/cli/client.rs` (+156 -12) 📝 `spotify_player/src/cli/commands.rs` (+33 -0) 📝 `spotify_player/src/cli/handlers.rs` (+65 -4) 📝 `spotify_player/src/cli/mod.rs` (+14 -0) 📝 `spotify_player/src/client/handlers.rs` (+1 -1) 📝 `spotify_player/src/client/mod.rs` (+77 -42) 📝 `spotify_player/src/client/spotify.rs` (+2 -20) 📝 `spotify_player/src/command.rs` (+2 -0) 📝 `spotify_player/src/config/keymap.rs` (+4 -0) _...and 17 more files_ </details> ### 📄 Description feat: add name-based support to playlist edit command Extends the playlist edit command to support name-based arguments alongside IDs: - Add --playlist-name option as alternative to --playlist-id - Add --track-name option as alternative to --track-id - Add --album-name option as alternative to --album-id - Automatically resolve names to IDs via Spotify search API - Maintain backward compatibility with existing ID-based commands Examples: - spotify_player playlist edit --playlist-name "Melancholic Midnight Musings" add --track-name "Bohemian Rhapsody" - spotify_player playlist edit --playlist-id "123" add --album-name "The Dark Side of the Moon" - spotify_player playlist edit --playlist-name "Post-Apocalyptic Soundscapes" delete --track-name "Mad World" 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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#1815
No description provided.