diff --git a/NEWS b/NEWS index ec8f167cd..6bcdc061e 100644 --- a/NEWS +++ b/NEWS @@ -6,6 +6,7 @@ ver 0.17 (2011/??/??) - new command "config" dumps location of music directory - add range parameter to command "load" - print extra "playlist" object for embedded CUE sheets + - new commands "searchadd", "searchaddpl" * input: - cdio_paranoia: new input plugin to play audio CDs - curl: enable CURLOPT_NETRC diff --git a/doc/mpd.conf.5 b/doc/mpd.conf.5 index bd890228b..d15d0fdab 100644 --- a/doc/mpd.conf.5 +++ b/doc/mpd.conf.5 @@ -487,6 +487,21 @@ This specifies a URL associated with the stream. .TP .B genre This specifies the genre(s) of the stream. +.SH OPTIONAL TCP KEEPALIVE PARAMETERS +.TP +.B tcp_keep_alive +Enable tcp keepalive on new client connections. (default is "no") +.TP +.B tcp_keep_alive_idle +Time in seconds since the last communication on the connection and before +the keepalive probing is started. (default is 7200 seconds) +.TP +.B tcp_keep_alive_interval +Interval in seconds between keepalive probes, once a probe started. (default is 75 seconds) +.TP +.B tcp_keep_alive_count +Number of failed probes before the connection is pronounced dead and +the connection is closed. (default is 9 times) .SH FILES .TP .BI ~/.mpdconf diff --git a/doc/mpdconf.example b/doc/mpdconf.example index 1aa9cf1dc..0045d31ab 100644 --- a/doc/mpdconf.example +++ b/doc/mpdconf.example @@ -372,6 +372,35 @@ input { # ############################################################################### +# Client TCP keep alive ####################################################### +# +# For clients connected by TCP on supported platforms. +# Allows detection of dangling connections due to clients disappearing from +# the network without closing their connections. +# +# This is not usually necessary but can be useful in cases such as wifi connectected +# clients that go in and out of network range or turn off wifi without closing their +# connections. Combined with low max_connections this can soon cause clients to not +# be able to connect. +# +# +# Enable tcp keepalive on new client connections (default is "no") +# +#tcp_keep_alive "no" +# +# Time in seconds since the last communication on the connection and before +# the keepalive probing is started. (default is 7200 seconds) +#tcp_keep_alive_idle "7200" +# +# Interval in seconds between keepalive probes, once a probe started. +# (default is 75 seconds) +#tcp_keep_alive_interval "75" +# +# Number of failed probes before the connection is pronounced dead and +# the connection is closed. (default is 9 times) +#tcp_keep_alive_count "9" +# +############################################################################### # Character Encoding ########################################################## # diff --git a/doc/protocol.xml b/doc/protocol.xml index 56ff33b1e..a054c22bd 100644 --- a/doc/protocol.xml +++ b/doc/protocol.xml @@ -1581,6 +1581,51 @@ OK + + + + searchadd + TYPE + WHAT + ... + + + + + Searches for any song that contains WHAT + in tag TYPE and adds them to current playlist. + + + Parameters have the same meaning as for find, + except that search is not case sensitive. + + + + + + + searchaddpl + NAME + TYPE + WHAT + ... + + + + + Searches for any song that contains WHAT + in tag TYPE and adds them to the playlist + named NAME. + + + If a playlist by that name doesn't exist it is created. + + + Parameters have the same meaning as for find, + except that search is not case sensitive. + + +