From 6e3da00874dc70c6f83c6db570d608e82cddf90a Mon Sep 17 00:00:00 2001 From: kaliko Date: Sat, 20 Feb 2021 14:27:59 +0100 Subject: [PATCH] MPD_TIMEOUT is in seconds At least I believe libmpdclient is reading env. var. as second: https://github.com/MusicPlayerDaemon/libmpdclient/blob/master/src/settings.c#L142 ncmpc manual also mentions MPD_TIMEOUT being is second. --- doc/client.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/client.rst b/doc/client.rst index 9d389738c..ae34ff669 100644 --- a/doc/client.rst +++ b/doc/client.rst @@ -60,6 +60,5 @@ The following environment variables should be obeyed by all clients 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 - (i.e. 30.000 ms). + for MPD's response in seconds. A good default is 30 seconds.