Add documentation for consume oneshot mode

This commit is contained in:
jcorporation 2022-09-20 20:32:32 +02:00
parent eb3baf7e99
commit 4333854293
1 changed files with 3 additions and 2 deletions

View File

@ -470,7 +470,7 @@ Querying :program:`MPD`'s status
- ``repeat``: ``0`` or ``1``
- ``random``: ``0`` or ``1``
- ``single`` [#since_0_15]_: ``0``, ``1``, or ``oneshot`` [#since_0_21]_
- ``consume`` [#since_0_15]_: ``0`` or ``1``
- ``consume`` [#since_0_15]_: ``0``, ``1`` or ``oneshot`` [#since_0_24]_
- ``playlist``: 31-bit unsigned integer, the playlist version number
- ``playlistlength``: integer, the length of the playlist
- ``state``: ``play``, ``stop``, or ``pause``
@ -518,7 +518,7 @@ Playback options
:command:`consume {STATE}` [#since_0_15]_
Sets consume state to ``STATE``,
``STATE`` should be 0 or 1.
``STATE`` should be ``0``, ``1`` or ``oneshot`` [#since_0_24]_.
When consume is activated, each song played is removed from playlist.
.. _command_crossfade:
@ -1693,3 +1693,4 @@ client-to-client messages are local to the current partition.
.. [#since_0_23_3] Since :program:`MPD` 0.23.3
.. [#since_0_23_4] Since :program:`MPD` 0.23.4
.. [#since_0_23_5] Since :program:`MPD` 0.23.5
.. [#since_0_24] Since :program:`MPD` 0.24