Skip to content

Add audio sets CLI commands (create, edit, list)#5

Merged
pixelate merged 2 commits into
mainfrom
claude/add-audio-sets-cli-VPQoL
Mar 8, 2026
Merged

Add audio sets CLI commands (create, edit, list)#5
pixelate merged 2 commits into
mainfrom
claude/add-audio-sets-cli-VPQoL

Conversation

@pixelate
Copy link
Copy Markdown
Owner

@pixelate pixelate commented Mar 8, 2026

Introduces the wavesync set command 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 in the library

Each set is stored as a YAML file inside <library>/.sets/. The editor
uses tty-prompt for arrow-key navigation, allowing users to add tracks
(with fuzzy filter), remove tracks, and reorder them up/down interactively.

@pixelate pixelate force-pushed the claude/add-audio-sets-cli-VPQoL branch 2 times, most recently from 984a1a6 to a7209fd Compare March 8, 2026 13:22
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
@pixelate pixelate force-pushed the claude/add-audio-sets-cli-VPQoL branch from a7209fd to 4328af8 Compare March 8, 2026 13:28
- 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>
@pixelate pixelate force-pushed the claude/add-audio-sets-cli-VPQoL branch from 484d0bb to 82c73f2 Compare March 8, 2026 14:28
@pixelate pixelate merged commit 672ed88 into main Mar 8, 2026
@pixelate pixelate deleted the claude/add-audio-sets-cli-VPQoL branch March 8, 2026 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants