Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
ecec4102
Commit
ecec4102
authored
Jun 27, 2012
by
geneticdrift
Committed by
Max Kellermann
Jun 27, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Documentation for commands searchadd, searchaddpl, and for tcp keepalive config options
parent
799843cc
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
90 additions
and
0 deletions
+90
-0
NEWS
NEWS
+1
-0
mpd.conf.5
doc/mpd.conf.5
+15
-0
mpdconf.example
doc/mpdconf.example
+29
-0
protocol.xml
doc/protocol.xml
+45
-0
No files found.
NEWS
View file @
ecec4102
...
...
@@ -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
...
...
doc/mpd.conf.5
View file @
ecec4102
...
...
@@ -487,6 +487,21 @@ This specifies a URL associated with the stream.
.TP
.B genre <genre>
This specifies the genre(s) of the stream.
.SH OPTIONAL TCP KEEPALIVE PARAMETERS
.TP
.B tcp_keep_alive <yes or no>
Enable tcp keepalive on new client connections. (default is "no")
.TP
.B tcp_keep_alive_idle <seconds>
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 <seconds>
Interval in seconds between keepalive probes, once a probe started. (default is 75 seconds)
.TP
.B tcp_keep_alive_count <number of times>
Number of failed probes before the connection is pronounced dead and
the connection is closed. (default is 9 times)
.SH FILES
.TP
.BI ~/.mpdconf
...
...
doc/mpdconf.example
View file @
ecec4102
...
...
@@ -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 ##########################################################
#
...
...
doc/protocol.xml
View file @
ecec4102
...
...
@@ -1581,6 +1581,51 @@ OK
</para>
</listitem>
</varlistentry>
<varlistentry
id=
"command_searchadd"
>
<term>
<cmdsynopsis>
<command>
searchadd
</command>
<arg
choice=
"req"
><replaceable>
TYPE
</replaceable></arg>
<arg
choice=
"req"
><replaceable>
WHAT
</replaceable></arg>
<arg
choice=
"opt"
><replaceable>
...
</replaceable></arg>
</cmdsynopsis>
</term>
<listitem>
<para>
Searches for any song that contains
<varname>
WHAT
</varname>
in tag
<varname>
TYPE
</varname>
and adds them to current playlist.
</para>
<para>
Parameters have the same meaning as for
<command>
find
</command>
,
except that search is not case sensitive.
</para>
</listitem>
</varlistentry>
<varlistentry
id=
"command_searchaddpl"
>
<term>
<cmdsynopsis>
<command>
searchaddpl
</command>
<arg
choice=
"req"
><replaceable>
NAME
</replaceable></arg>
<arg
choice=
"req"
><replaceable>
TYPE
</replaceable></arg>
<arg
choice=
"req"
><replaceable>
WHAT
</replaceable></arg>
<arg
choice=
"opt"
><replaceable>
...
</replaceable></arg>
</cmdsynopsis>
</term>
<listitem>
<para>
Searches for any song that contains
<varname>
WHAT
</varname>
in tag
<varname>
TYPE
</varname>
and adds them to the playlist
named
<varname>
NAME
</varname>
.
</para>
<para>
If a playlist by that name doesn't exist it is created.
</para>
<para>
Parameters have the same meaning as for
<command>
find
</command>
,
except that search is not case sensitive.
</para>
</listitem>
</varlistentry>
<varlistentry
id=
"command_update"
>
<term>
<cmdsynopsis>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment