Skip to content

Configure MPV to use PipeWire with proper app name and metadata#843

Open
M0Rf30 wants to merge 1 commit intodweymouth:mainfrom
M0Rf30:chore/mpv-metadata
Open

Configure MPV to use PipeWire with proper app name and metadata#843
M0Rf30 wants to merge 1 commit intodweymouth:mainfrom
M0Rf30:chore/mpv-metadata

Conversation

@M0Rf30
Copy link
Copy Markdown
Contributor

@M0Rf30 M0Rf30 commented Feb 2, 2026

  • Set audio output to prefer pulse/pipewire over alsa for native stream support
  • Use supersonic-desktop as client name to match desktop file for icon resolution
  • Set x11-name to supersonic-desktop for proper window manager integration
  • Configure title format to show Artist - Track in media metadata

@M0Rf30
Copy link
Copy Markdown
Contributor Author

M0Rf30 commented Feb 2, 2026

Programs like Easyeffects now show the supersonic player stream in this way
image

M0Rf30 added a commit to M0Rf30/supersonic that referenced this pull request Feb 3, 2026
…ation

- Changed audio-client-name from 'supersonic-desktop' to 'Supersonic' to match the standard app name
- Changed x11-name from 'supersonic-desktop' to 'Supersonic' for consistency
- Added runtime.GOOS == "linux" check to wrap PipeWire-specific audio options
- Only apply pulse/pipewire audio output and title metadata on Linux systems

Addresses review comments on PR dweymouth#843
M0Rf30 added a commit to M0Rf30/supersonic that referenced this pull request Feb 3, 2026
…iguration

- Set audio-client-name to 'supersonic-desktop' to match desktop file icon name for proper PipeWire/PulseAudio icon display
- Set x11-name to 'Supersonic' to match StartupWMClass for window manager integration (Linux only)
- Added runtime.GOOS == "linux" checks for Linux-specific PipeWire/X11 configuration
- Only apply pulse/pipewire audio output and title metadata on Linux systems

This ensures the audio stream shows the correct icon in applications like EasyEffects
while maintaining proper window manager integration.

Addresses review comments on PR dweymouth#843
@M0Rf30 M0Rf30 force-pushed the chore/mpv-metadata branch from 85aa61b to 864a2f4 Compare February 3, 2026 17:17
M0Rf30 added a commit to M0Rf30/supersonic that referenced this pull request Feb 3, 2026
- Rename desktop file to match AppStream metadata standard
- Update Exec to 'supersonic' and Icon to 'io.github.dweymouth.supersonic'
- Set audio-client-name and x11-name to match desktop file (Linux only)
- Add Linux-specific PipeWire config: audio output priority and title metadata

Fixes icon display in PipeWire mixers like EasyEffects.
Addresses PR dweymouth#843 review comments.
@M0Rf30 M0Rf30 force-pushed the chore/mpv-metadata branch from 864a2f4 to 2e7d886 Compare February 3, 2026 17:34
M0Rf30 added a commit to M0Rf30/supersonic that referenced this pull request Feb 3, 2026
- Rename desktop file to match AppStream metadata standard
- Update Exec to 'supersonic' and Icon to 'io.github.dweymouth.supersonic'
- Set audio-client-name and x11-name to match desktop file (Linux only)
- Add Linux-specific PipeWire config: audio output priority and title metadata

Fixes icon display in PipeWire mixers like EasyEffects.
Addresses PR dweymouth#843 review comments.
@M0Rf30 M0Rf30 force-pushed the chore/mpv-metadata branch 2 times, most recently from 951a064 to 76d5d8a Compare February 3, 2026 18:20
- Rename desktop file to match AppStream metadata standard
- Update Exec to 'supersonic' and Icon to 'io.github.dweymouth.supersonic'
- Set audio-client-name and x11-name to match desktop file (Linux only)
- Add Linux-specific PipeWire config: audio output priority and title metadata

Fixes icon display in PipeWire mixers like EasyEffects.
@M0Rf30 M0Rf30 force-pushed the chore/mpv-metadata branch from 76d5d8a to 6f25e61 Compare February 3, 2026 21:25
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