output/PipeWire: set app icon

Closes #1564
This commit is contained in:
guihkx 2022-07-10 13:32:23 -03:00 committed by Max Kellermann
parent cd0396c1f1
commit 956c5faebb
2 changed files with 3 additions and 0 deletions

2
NEWS
View File

@ -1,4 +1,6 @@
ver 0.23.9 (not yet released)
* output
- pipewire: set app icon
ver 0.23.8 (2022/07/09)
* storage

View File

@ -514,6 +514,7 @@ PipeWireOutput::Open(AudioFormat &audio_format)
PW_KEY_MEDIA_CATEGORY, "Playback",
PW_KEY_MEDIA_ROLE, "Music",
PW_KEY_APP_NAME, "Music Player Daemon",
PW_KEY_APP_ICON_NAME, "mpd",
nullptr);
pw_properties_setf(props, PW_KEY_NODE_NAME, "mpd.%s", name);