doc/protocol.rst: "list file" is deprecated

Closes https://github.com/MusicPlayerDaemon/MPD/issues/526
This commit is contained in:
Max Kellermann 2019-04-23 14:29:42 +02:00
parent 3a0d6d96c1
commit 5e21b2db3c
2 changed files with 6 additions and 2 deletions

1
NEWS
View File

@ -10,6 +10,7 @@ ver 0.21.8 (not yet released)
* fix build failure with GCC 9 * fix build failure with GCC 9
* fix build failure with -Ddatabase=false * fix build failure with -Ddatabase=false
* systemd: add user socket unit * systemd: add user socket unit
* doc: "list file" is deprecated
ver 0.21.7 (2019/04/03) ver 0.21.7 (2019/04/03)
* input * input

View File

@ -861,8 +861,7 @@ The music database
:command:`list {TYPE} {FILTER} [group {GROUPTYPE}]` :command:`list {TYPE} {FILTER} [group {GROUPTYPE}]`
Lists unique tags values of the specified type. Lists unique tags values of the specified type.
``TYPE`` can be any tag supported by ``TYPE`` can be any tag supported by
:program:`MPD` or :program:`MPD`.
*file*.
Additional arguments may specify a :ref:`filter <filter_syntax>`. Additional arguments may specify a :ref:`filter <filter_syntax>`.
The *group* keyword may be used The *group* keyword may be used
@ -873,6 +872,10 @@ The music database
list album group albumartist list album group albumartist
``list file`` was implemented in an early :program:`MPD` version,
but does not appear to make a lot of sense. It still works (to
avoid breaking compatibility), but is deprecated.
.. _command_listall: .. _command_listall:
:command:`listall [URI]` :command:`listall [URI]`