Repository navigation
feat: added output picker and EQ button setting for the player bar - #46
Merged
Merged
Conversation
The player bar can show an output picker: a speaker button beside the volume that switches Device configs without opening Settings. Off by default; turned on in Settings → Audio. - Picker lists System default and every Device config with the same summary as Settings, in red for one whose device is unplugged. The button turns red while the active config's device is away (a locked config waiting for it). "Manage device configs" opens Settings → Audio. Also shown in the full-screen player, beside the volume. - The player bar's EQ button can be hidden. On by default; Ctrl/⌘+E still opens the EQ. - Preferences.showOutputPicker (default off) and showEqButton (default on), so existing settings files keep today's player bar. - Config summary moved to deviceConfigSummary(), shared by Settings and the picker; the Audio section gets an #audio anchor. - Strings in all four languages. Co-Authored-By: Claude Opus 5.5 <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
Two opt-in player bar settings in Settings → Audio: an output picker that switches Device configs from the bar, and a switch to hide the EQ button.
<PlayerBar> right controls <SignalPathIndicator> - EQ button + EQ button (unless showEqButton is off) Queue button + <OutputPicker> (when showOutputPicker is on) <VolumeSlider> <NowPlayingOverlay> <SignalPathIndicator> + <OutputPicker> (when showOutputPicker is on) <VolumeSlider>Picking a config does the same as picking it in Settings: it sets
activeDeviceConfig, and the backend switches output only if the target changed, carrying the playing Song across. The summary line moved out ofSettingsViewintodeviceConfigSummary(), so the picker and Settings show the same text.Evidence
After: the real frontend, driven in a headless browser with the Tauri IPC stubbed (three configs, one with its device unplugged):
deviceConfigSummarytests: device, Shared/Exclusive, Matches source rate, Locked; an unplugged device leads with "Device not connected"; HQPlayer configs name their address.scrobbling_prefs_survive_a_camel_case_round_tripnow coversshowOutputPicker/showEqButton;old_settings_files_parse_with_pref_defaultschecks the picker defaults off and the EQ button on.npm test(214),tsc --noEmit, and the Rust settings tests (14) pass.Not yet tried in the Tauri window itself.
Merge Danger
Door: two-way
Both new fields default so existing settings files get today's player bar (picker off, EQ button on), and older versions ignore the unknown fields.
Blast Radius: player bar
With the picker on, the right controls get one more 32 px button; they fit in the bar's existing 256 px column. Picking a config reopens the output, the same path Settings already uses.
🤖 Generated with Claude Code