-
Notifications
You must be signed in to change notification settings - Fork 305
Feat/playlist edit name support #790
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
tojamrok
wants to merge
16
commits into
aome510:master
Choose a base branch
from
tojamrok:feat/playlist-edit-name-support
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Feat/playlist edit name support #790
tojamrok
wants to merge
16
commits into
aome510:master
from
tojamrok:feat/playlist-edit-name-support
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Implements `playlist edit <playlist-id> <add|delete> --id <track-id>` command that allows users to add or remove tracks from Spotify playlists via CLI. Changes: - Add EditAction enum with Add/Delete variants - Add Edit variant to PlaylistCommand enum - Implement CLI argument parsing for edit subcommand - Add Spotify API integration for playlist_add_items and playlist_remove_all_occurrences_of_items - Add proper type conversion from TrackId to PlayableId::Track 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
…id> CLI command On top of PR aome510#776, which implements <add|delete> --id <track-id> CLI command, allow adding and removing whole albums. Modified track manipulation - it is now done with --track-id instead of --id parameter.
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>
Owner
Fixes aome510#753 Fixes aome510#764 This PR updates the logic to only update `count_prefix` if the pressed digit key is not handled as bind command or action --------- Co-authored-by: Thang Pham <phamducthang1234@gmail.com>
Updated archlinux install guide, as official package is now supporting all functionalities, built with pulseaudio-backend.
- Add `playback_metadata_fields` option to config, allowing users to
control which metadata fields (repeat, shuffle, volume, device) are
shown in the playback UI.
- Update example config and documentation to reflect the new option.
- Users can now specify any combination and order of metadata fields to
display in the `{metadata}` section.
Resolves aome510#759 - Search results - Playback Metadata/Rect - Main View - Playlist View Before:  After: 
* update dependencies * update logic to generate description for track table
…kup issues (aome510#808) Resolves aome510#802 Resolves aome510#799 Resolves aome510#796 Resolves aome510#787 This PR was based on aome510#807 with a few updates --------- Co-authored-by: Bradley Zylstra <bzylstra@turnkeyscientific.com>
…aome510#809) Resolves aome510#804 - define a custom client to get user's available devices for Spotify Connect integration - update `client_id` general config to be optional + setting one will enable "user-provided client integration" which is requred for Spotify Connect feature - cleanup authentication codes - update documentation
- Add playlist_scraper.tcl: scrapes weekly albums and tracks from afera.com.pl - Add playlist_generator.tcl: creates Spotify playlists from scraped content - Add GitHub Action workflow for weekly automated playlist updates - Add test_local.sh: local testing script before deployment 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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