summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/output/plugins/PipeWireOutputPlugin.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/output/plugins/PipeWireOutputPlugin.cxx b/src/output/plugins/PipeWireOutputPlugin.cxx
index 73b4cf0c8..5e4938589 100644
--- a/src/output/plugins/PipeWireOutputPlugin.cxx
+++ b/src/output/plugins/PipeWireOutputPlugin.cxx
@@ -366,9 +366,10 @@ PipeWireOutput::Open(AudioFormat &audio_format)
PW_KEY_MEDIA_CATEGORY, "Playback",
PW_KEY_MEDIA_ROLE, "Music",
PW_KEY_APP_NAME, "Music Player Daemon",
- PW_KEY_NODE_NAME, "mpd",
nullptr);
+ pw_properties_setf(props, PW_KEY_NODE_NAME, "mpd.%s", name);
+
if (remote != nullptr && target_id == PW_ID_ANY)
pw_properties_setf(props, PW_KEY_REMOTE_NAME, "%s", remote);