jspf: implement append mode

This commit is contained in:
Philipp Wolfer 2023-12-10 00:24:39 +01:00
parent a751b7182c
commit 4d07a39b64
No known key found for this signature in database
GPG key ID: 8FDF744D4919943B
2 changed files with 65 additions and 28 deletions

View file

@ -59,6 +59,9 @@ append = true
backend = "jspf"
# The file path to the XSPF file
file-path = "data/playlist.jspf"
# If true (default), new listens will be appended to the existing file. Set to
# false to overwrite the file and create a new JSPF playlist on every run.
append = true
# Title of the playlist
title = "My Playlist"
# Creator of the playlist (only informational)