doc/protocol.rst: document add on local socket

Closes https://github.com/MusicPlayerDaemon/MPD/issues/1022
This commit is contained in:
Max Kellermann 2021-02-15 13:00:09 +01:00
parent da5ff779c6
commit 78b43a9930

View File

@ -677,6 +677,11 @@ Whenever possible, ids should be used.
(directories add recursively). ``URI`` (directories add recursively). ``URI``
can also be a single file. can also be a single file.
Clients that are connected via local socket may add arbitrary
local files (URI is an absolute path). Exmaple::
add "/home/foo/Music/bar.ogg"
.. _command_addid: .. _command_addid:
:command:`addid {URI} [POSITION]` :command:`addid {URI} [POSITION]`