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.
This commit is contained in:
kaliko 2021-02-20 14:27:59 +01:00
parent c729f16dcd
commit 6e3da00874
1 changed files with 1 additions and 2 deletions

View File

@ -60,6 +60,5 @@ The following environment variables should be obeyed by all clients
socket. socket.
- :envvar:`MPD_PORT`: the port number; defaults to 6600. - :envvar:`MPD_PORT`: the port number; defaults to 6600.
- :envvar:`MPD_TIMEOUT`: timeout for connecting to MPD and for waiting - :envvar:`MPD_TIMEOUT`: timeout for connecting to MPD and for waiting
for MPD's response in milliseconds. A good default is 30 seconds for MPD's response in seconds. A good default is 30 seconds.
(i.e. 30.000 ms).