summaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2013-10-22 10:58:04 +0200
committerGravatar Christian Hesse <mail@eworm.de>2013-10-22 10:58:04 +0200
commite793219fbae56376ed77bef87040a163dfb8dd36 (patch)
tree4e13c3433f8df5366a45b337a7559ebe170a0f8d /config.def.h
parent0001f2b17147bdb825a4b2b7212c3f34ead78518 (diff)
downloadmpd-notification-e793219fbae56376ed77bef87040a163dfb8dd36.tar.gz
mpd-notification-e793219fbae56376ed77bef87040a163dfb8dd36.tar.zst
add mpd host configuration options
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index f135a8d..48de332 100644
--- a/config.def.h
+++ b/config.def.h
@@ -10,3 +10,15 @@
#define TEXT_STOP "Stopped playback"
#define TEXT_NONE "No action received yet."
#define TEXT_UNKNOWN "(unknown)"
+
+/* how to connect to mpd host ?
+ * MPD_HOST is the server's host name, IP address or Unix socket path. If the
+ * resolver returns more than one IP address for a host name, this functions
+ * tries all of them until one accepts the connection. NULL is allowed here,
+ * which will connect to the default host.
+ * MPD_PORT is the TCP port to connect to, 0 for default port. If "host" is
+ * a Unix socket path, this parameter is ignored.
+ * MPD_TIMEOUT is the timeout in milliseconds, 0 for the default timeout. */
+#define MPD_HOST NULL
+#define MPD_PORT 0
+#define MPD_TIMEOUT 0