feat: Album art visualizer, universal macOS binary, Oklch improvements#4
Merged
WeekendSuperhero merged 6 commits intomainfrom Mar 17, 2026
Merged
Conversation
…r distribution - Add now-playing integration via ScriptingBridge (Spotify, Apple Music) with osascript fallback — extracts album art colors for the visualizer - Press N in visualizer view to use album art colors; auto-updates on song change via background watcher thread - Show track title and color swatches in the TUI visualizer view - Use auto-palette crate with Oklch lightness filtering to extract the 4 most dominant colors, skipping near-black - Distribute palette colors evenly across panels instead of padding with the last color - Add Makefile with universal binary target (lipo x86_64 + aarch64) - Update CI to build universal binary on macOS - Fix cargo fmt formatting Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Convert module doc to //! style in now_playing.rs - Collapse nested if statements (audio.rs, utils.rs, now_playing.rs) - Use sort_by_key with Reverse instead of sort_by - Use &mut [f32] instead of &mut Vec<f32> in visualizer - Use is_err() instead of if let Err(_) - Add .githooks/pre-commit that runs cargo fmt + clippy Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Summary
Nin visualizer view to extract colors from the currently playing track's album art (Spotify and Apple Music via ScriptingBridge + osascript fallback). Auto-updates on song change via background watcher thread.auto-palettecrate with Oklch lightness filtering to extract the 4 most dominant album art colors, filtering out near-black colors that can't be represented on panels.Makefilewithmake universaltarget (lipo x86_64 + aarch64) and updated CI to build universal binary on macOS..githooks/pre-commitrunningcargo fmt+cargo clippyto catch issues before they reach CI.Test plan
V), pressN— verify album art colors appear on panels and in TUIN— verify artwork extracted via ScriptingBridge or osascript fallback1-0) to switch back to a named palette — verify watcher stopsmake universalon macOS — verify fat binary is produced