From 78b43a993072d17cb9984f9b42c0406d2e54f00c Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 15 Feb 2021 13:00:09 +0100 Subject: [PATCH] doc/protocol.rst: document `add` on local socket Closes https://github.com/MusicPlayerDaemon/MPD/issues/1022 --- doc/protocol.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/protocol.rst b/doc/protocol.rst index 0c4c9ac6f..3d2c90f4d 100644 --- a/doc/protocol.rst +++ b/doc/protocol.rst @@ -677,6 +677,11 @@ Whenever possible, ids should be used. (directories add recursively). ``URI`` 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 {URI} [POSITION]`