You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After playlist is being reloaded, playback starts with incorrect song (not sure if it is a coincidence, but in my cases it is always the last pre-fetched song).
Steps to reproduce
Playlist definition in .liq script:
# not sure if it impacts somehow the described behavior, however I use external cue_file as you may see below
%include "/etc/liquidsoap/autocue.cue_file.liq"
ignore(check_autocue_setup(shutdown=true, print=true))
enable_autocue_metadata()
settings.request.prefetch := 3
myplaylist = playlist("/playlist.pls",reload_mode="watch",mode="normal")
# apply loudness normalization
radio = amplify(1., override="liq_amplify", myplaylist)
The issue doesn't occur in 100% cases, however after a few playlist.pls updates it always occurs.
I have 3 identical pods with the same .liq script and same /playlist.pls running in K8s cluster. When I run simultaneous update of the playlist in all of them - I always get incorrect start song in at least one of them.
Run the above setup with some valid .pls playlist.
Make changes to /playlist.pls
Playback will be reloaded and playback starts from track number 3.
After track number 3 finishes LS proceeds with track number 1 and continues to play in normal order.
Expected behavior
When playlist is defined as follows: myplaylist = playlist("/playlist.pls",reload_mode="watch",mode="normal")
after any update made to /playlist.pls playback must always start with the track number 1 in the updated /playlist.pls file
Liquidsoap version
Liquidsoap 2.3.0
Copyright (c) 2003-2024 Savonet team
Liquidsoap is open-source software, released under GNU General Public License.
See <http://liquidsoap.info> for more information.
Description
After playlist is being reloaded, playback starts with incorrect song (not sure if it is a coincidence, but in my cases it is always the last pre-fetched song).
Steps to reproduce
Playlist definition in
.liq
script:The issue doesn't occur in 100% cases, however after a few
playlist.pls
updates it always occurs.I have 3 identical pods with the same
.liq
script and same/playlist.pls
running in K8s cluster. When I run simultaneous update of the playlist in all of them - I always get incorrect start song in at least one of them..pls
playlist./playlist.pls
number 3
.number 3
finishes LS proceeds with tracknumber 1
and continues to play in normal order.Expected behavior
When playlist is defined as follows:
myplaylist = playlist("/playlist.pls",reload_mode="watch",mode="normal")
after any update made to
/playlist.pls
playback must always start with the tracknumber 1
in the updated/playlist.pls
fileLiquidsoap version
Liquidsoap build config
Installation method
From official container image
Additional Info
No response
The text was updated successfully, but these errors were encountered: