From 96afa8bd2ba44d6669949db5fce4fee5f826b753 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 28 Feb 2014 19:02:23 +0100 Subject: command: add command "listfiles" Lists files and directories. Supports storage plugins. --- doc/protocol.xml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'doc') diff --git a/doc/protocol.xml b/doc/protocol.xml index 625fef874..1c7e928b1 100644 --- a/doc/protocol.xml +++ b/doc/protocol.xml @@ -1600,6 +1600,31 @@ OK + + + + listfiles + URI + + + + + Lists the contents of the directory + URI, including files are not + recognized by MPD. URI can be a path + relative to the music directory or an URI understood by + one of the storage plugins. The response contains at + least one line for each directory entry with the prefix + "file: " or "directory: ", and may be followed by file + attributes such as "Last-Modified" and "size". + + + For example, "smb://SERVER" returns a list of all shares + on the given SMB/CIFS server; "nfs://servername/path" + obtains a directory listing from the NFS server. + + + -- cgit v1.2.3