doc/protocol.xml: add warning to "listall" and "listallinfo"

This commit is contained in:
Max Kellermann 2014-04-29 10:31:14 +02:00
parent bc2a1160b8
commit 12768babdf

View File

@ -1608,6 +1608,12 @@ OK
Lists all songs and directories in
<varname>URI</varname>.
</para>
<para>
Do not use this command. Do not manage a client-side
copy of MPD's database. That is fragile and adds huge
overhead. It will break with large databases. Instead,
query MPD whenever you need something.
</para>
</listitem>
</varlistentry>
<varlistentry id="command_listallinfo">
@ -1623,6 +1629,12 @@ OK
returns metadata info in the same format as
<command>lsinfo</command>.
</para>
<para>
Do not use this command. Do not manage a client-side
copy of MPD's database. That is fragile and adds huge
overhead. It will break with large databases. Instead,
query MPD whenever you need something.
</para>
</listitem>
</varlistentry>
<varlistentry id="command_listfiles">