Skip to content

refactor(live-input): rename the pipewire_bridge input mode to pipewire - #356

Open
mgth wants to merge 1 commit into
mainfrom
refactor/rename-pipewire-input-mode
Open

refactor(live-input): rename the pipewire_bridge input mode to pipewire#356
mgth wants to merge 1 commit into
mainfrom
refactor/rename-pipewire-input-mode

Conversation

@mgth

@mgth mgth commented Sep 3, 2026

Copy link
Copy Markdown
Owner

Follow-up to #354: with the PCM-only sink gone, the remaining PipeWire input is simply the PipeWire mode.

Change

  • The canonical mode name is now pipewire: serde rename on InputMode and InputModeConfig, the /omniphony/control/input/mode parser, the /state/input mode names, and Studio's normalize_input_mode. The variants are InputMode::Pipewire / InputModeConfig::Pipewire.
  • pipewire_bridge and live remain deserialization aliases, so a config saved before this change and any client still sending the old name keep working. Serialization now writes pipewire; Studio's config save will rewrite input_mode: pipewire on the next save.
  • Studio: the mode option value and label become pipewire / "PipeWire" (input.mode.pipewire), the summary key becomes input.summary.pipewire, and the request flag is pipewireRequested. All eight locales updated; check-i18n reports parity.
  • Two comments that still named the old variants are updated. Internal identifiers that refer to the decoder bridge (PipewireBridgeStreamConfig, run_pipewire_bridge_*, the build_pipewire_bridge_* pod builders) are unchanged: that bridge still exists and those names describe it, not the mode.

Outside the repo

  • ~/.config/mpv/scripts/truehd-auto-detect.lua (currently .disabled) routes pipewire, pipewire_bridge and live to the sink alike, so it is unaffected.

Verification

cargo fmt --all --check, cargo check --workspace --all-targets, cargo test --workspace (renderer); cargo check in src-tauri; node --check on the edited Studio files; npm run i18n:check; npm run lint:dead.

Not in this PR

The input rows hidden in #354 (Backend, Layout, Channels, Sample rate, Map, LFE) stay hidden; deciding which return is a separate change.

🤖 Generated with Claude Code

With the PCM-only sink gone, the remaining PipeWire input is simply the
PipeWire mode. The canonical name becomes `pipewire` on the config, the
OSC control and state, and in Studio; `pipewire_bridge` and `live` stay
as deserialization aliases so saved configs and older clients keep
working. Internal identifiers naming the decoder bridge are unchanged:
that bridge still exists and those names describe it, not the mode.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
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.

1 participant