command/playlist: "load" supports relative positions

This commit also increases the PROTOCOL_VERSION so clients can detect
the availability of the feature.
This commit is contained in:
Max Kellermann
2021-10-18 22:07:25 +02:00
parent 07e8c338df
commit 31151cec3c
4 changed files with 7 additions and 4 deletions

View File

@@ -923,8 +923,9 @@ remote playlists (absolute URI with a supported scheme).
only a part of the playlist.
The ``POSITION`` parameter specifies where the songs will be
inserted into the queue. (This requires specifying the range as
well; the special value `0:` can be used if the whole playlist
inserted into the queue; it can be relative as described in
:ref:`addid <command_addid>`. (This requires specifying the range
as well; the special value `0:` can be used if the whole playlist
shall be loaded at a certain queue position.)
.. _command_playlistadd: