New command playlistlength

Count the number of songs and their total playtime in the playlist.
This commit is contained in:
jcorporation
2024-02-08 22:54:24 +01:00
parent c71e586c53
commit f801f299c9
8 changed files with 130 additions and 1 deletions

View File

@@ -1001,6 +1001,19 @@ remote playlists (absolute URI with a supported scheme).
The second parameter can be a range. [#since_0_23_3]_
.. _command_playlistlength:
:command:`playlistlength {NAME}`
Count the number of songs and their total playtime (seconds) in the
playlist.
Example::
playlistlength example
songs: 10
playtime: 8192
OK
.. _command_playlistmove:
:command:`playlistmove {NAME} [{FROM} | {START:END}] {TO}`