doc/protocol.rst: add "since" version notes

This commit is contained in:
Max Kellermann 2021-10-25 08:44:54 +02:00
parent 258ecb764f
commit 4529bb4a83
1 changed files with 9 additions and 7 deletions

View File

@ -551,7 +551,7 @@ Playback options
.. _command_getvol: .. _command_getvol:
:command:`getvol` :command:`getvol` [#since_0_23]_
Read the volume. The result is a ``volume:`` line like in Read the volume. The result is a ``volume:`` line like in
:ref:`status <command_status>`. If there is no mixer, MPD will :ref:`status <command_status>`. If there is no mixer, MPD will
@ -714,10 +714,10 @@ Whenever possible, ids should be used.
If the second parameter is given, then the song is inserted at the If the second parameter is given, then the song is inserted at the
specified position. If the parameter starts with ``+`` or ``-``, specified position. If the parameter starts with ``+`` or ``-``,
then it is relative to the current song; e.g. ``+0`` inserts right then it is relative to the current song [#since_0_23]_; e.g. ``+0``
after the current song and ``-0`` inserts right before the current inserts right after the current song and ``-0`` inserts right
song (i.e. zero songs between the current song and the newly added before the current song (i.e. zero songs between the current song
song). and the newly added song).
.. _command_clear: .. _command_clear:
@ -929,7 +929,7 @@ remote playlists (absolute URI with a supported scheme).
inserted into the queue; it can be relative as described in inserted into the queue; it can be relative as described in
:ref:`addid <command_addid>`. (This requires specifying the range :ref:`addid <command_addid>`. (This requires specifying the range
as well; the special value `0:` can be used if the whole playlist as well; the special value `0:` can be used if the whole playlist
shall be loaded at a certain queue position.) shall be loaded at a certain queue position.) [#since_0_23_1]
.. _command_playlistadd: .. _command_playlistadd:
@ -1216,7 +1216,7 @@ The music database
Parameters have the same meaning as for :ref:`search <command_search>`. Parameters have the same meaning as for :ref:`search <command_search>`.
The ``position`` parameter specifies where the songs will be The ``position`` parameter specifies where the songs will be
inserted. inserted. [#since_0_23]_
.. _command_searchaddpl: .. _command_searchaddpl:
@ -1647,3 +1647,5 @@ client-to-client messages are local to the current partition.
.. [#since_0_20] Since :program:`MPD` 0.20 .. [#since_0_20] Since :program:`MPD` 0.20
.. [#since_0_21] Since :program:`MPD` 0.21 .. [#since_0_21] Since :program:`MPD` 0.21
.. [#since_0_22_4] Since :program:`MPD` 0.22.4 .. [#since_0_22_4] Since :program:`MPD` 0.22.4
.. [#since_0_23] Since :program:`MPD` 0.23
.. [#since_0_23_1] Since :program:`MPD` 0.23.1