From 88abfc0d0fb5cb876888aa2efca41593d0aa1ad0 Mon Sep 17 00:00:00 2001
From: Max Kellermann <max@duempel.org>
Date: Thu, 5 Nov 2009 19:55:00 +0100
Subject: output/jack: added option "client_name"

Instead of using MPD's audio output name (setting "name"), use a
separate configuration option.  Change the default to "Music Player
Daemon".
---
 src/output/jack_output_plugin.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

(limited to 'src/output')

diff --git a/src/output/jack_output_plugin.c b/src/output/jack_output_plugin.c
index fba921e04..3d38a9d2d 100644
--- a/src/output/jack_output_plugin.c
+++ b/src/output/jack_output_plugin.c
@@ -212,9 +212,8 @@ mpd_jack_init(G_GNUC_UNUSED const struct audio_format *audio_format,
 	const char *value;
 
 	jd = g_new(struct jack_data, 1);
-	jd->name = config_get_block_string(param, "name", "mpd_jack");
-
-	g_debug("mpd_jack_init (pid=%d)", getpid());
+	jd->name = config_get_block_string(param, "client_name",
+					   "Music Player Daemon");
 
 	value = config_get_block_string(param, "ports", NULL);
 	if (value != NULL) {
-- 
cgit v1.2.3