Add audio sets CLI commands (create, edit, list)#5
Merged
Conversation
984a1a6 to
a7209fd
Compare
Introduces `wavesync set` with three subcommands: - `set create <name>` — create a new set and open the interactive editor - `set edit <name>` — open an existing set in the interactive editor - `set list` — list all sets with their track counts Each set is stored as a YAML file inside `<library>/.sets/`. The editor uses tty-prompt for arrow-key navigation and live filtering when adding tracks. Changes are only written to disk on Save & quit. All colour output is routed through the UI class (color/clear methods). https://claude.ai/code/session_01Vcps2ZQxamsHdrTDPAFxEu
a7209fd to
4328af8
Compare
- Add arrow key navigation with highlight for selected track - Add space bar play/pause using ffplay with seek-based pause (no stutter) - Auto-advance to next track when playback finishes - Show ▶/⏸ indicator on playing/paused track row - Store track paths relative to library in YAML - Add set editor tests (30 tests) - Update README with keybinding reference Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
484d0bb to
82c73f2
Compare
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
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.
Introduces the
wavesync setcommand with three subcommands:set create <name>— create a new set and open the interactive editorset edit <name>— open an existing set in the interactive editorset list— list all sets in the libraryEach set is stored as a YAML file inside
<library>/.sets/. The editoruses tty-prompt for arrow-key navigation, allowing users to add tracks
(with fuzzy filter), remove tracks, and reorder them up/down interactively.