diff options
Diffstat (limited to '')
-rw-r--r-- | src/playlist.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/playlist.h b/src/playlist.h index 4126c67c3..311163e8b 100644 --- a/src/playlist.h +++ b/src/playlist.h @@ -141,6 +141,15 @@ playlist_append_song(struct playlist *playlist, enum playlist_result playlist_delete(struct playlist *playlist, unsigned song); +/** + * Deletes a range of songs from the playlist. + * + * @param start the position of the first song to delete + * @param end the position after the last song to delete + */ +enum playlist_result +playlist_delete_range(struct playlist *playlist, unsigned start, unsigned end); + enum playlist_result playlist_delete_id(struct playlist *playlist, unsigned song); |