Commit 6e3da008 authored by kaliko's avatar kaliko

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.
parent c729f16d
...@@ -60,6 +60,5 @@ The following environment variables should be obeyed by all clients ...@@ -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).
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment