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
985b8b2d
Commit
985b8b2d
authored
Sep 10, 2009
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc/protocol: clarify "update"
The update job id is positive. When used in a command list, MPD prints one job id for each "update" command.
parent
c97bccad
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
13 deletions
+8
-13
protocol.xml
doc/protocol.xml
+8
-13
No files found.
doc/protocol.xml
View file @
985b8b2d
...
...
@@ -1210,29 +1210,24 @@ OK
<term>
<cmdsynopsis>
<command>
update
</command>
<arg><replaceable>
URI
</replaceable></arg>
<arg
choice=
"opt"
><replaceable>
URI
</replaceable></arg>
</cmdsynopsis>
</term>
<listitem>
<para>
Updates the music database.
Updates the music database: find new files, remove
deleted files, update modified files.
</para>
<para>
<varname>
URI
</varname>
is a particular directory or
song/file to update.
song/file to update. If you do not specify it,
everything is updated.
</para>
<para>
Prints "updating_db: JOBID" where
<varname>
JOBID
</varname>
is the job id requested for
your update, and is displayed in status, while the
requested update is happening.
</para>
<para>
To update a number of paths/songs at once, use
command_list, it will be much more faster/efficient.
Also, if you use a command_list for updating, only one
<command>
update
</command>
job id will be returned per
sequence of updates.
<varname>
JOBID
</varname>
is a positive number
identifying the update job. You can read the current
job id in the
<command>
status
</command>
response.
</para>
</listitem>
</varlistentry>
...
...
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