From 38df01b266bbcd85e0f9262d2c3913ba398af523 Mon Sep 17 00:00:00 2001 From: kaliko Date: Sat, 20 Feb 2021 15:21:15 +0100 Subject: [PATCH] Add password use with MPD_HOST --- doc/client.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/client.rst b/doc/client.rst index 9d389738c..8ef0f1f59 100644 --- a/doc/client.rst +++ b/doc/client.rst @@ -57,7 +57,9 @@ The following environment variables should be obeyed by all clients - :envvar:`MPD_HOST`: the host (or local socket path) to connect to; on Linux, this may start with a ``@`` to connect to an abstract - socket. + socket. To use a password with MPD, set :envvar:`MPD_HOST` to + ``password@host`` (then abstract socket requires double ``@``: + ``password@@socket``). - :envvar:`MPD_PORT`: the port number; defaults to 6600. - :envvar:`MPD_TIMEOUT`: timeout for connecting to MPD and for waiting for MPD's response in milliseconds. A good default is 30 seconds