Closed Russsgithub closed 1 month ago
Hi!
Thanks for reporting.
I'm not sure if I have enough yet to reproduce. This script seems to work:
log.level := 4
# Make sure autocue gets used
settings.autocue.internal.metadata_override := []
settings.autocue.amplify_behavior := "keep"
def next_track(stream)
result = "autocue:/Users/toots/sources/test-stream/audio/test.mp3"
request.create(result)
end
s = request.dynamic(prefetch=2, retry_delay=10., {next_track("music")})
output.dummy(fallible=true, s)
@toots ,
settings.log.level := 4
settings.autocue.internal.metadata_override := []
count = ref(0)
def next_track()
req = ref("")
if count() == 0 then
req := "autocue:file:test1.mp3"
elsif count() == 1 then
req := "autocue:file:test2.mp3"
else
req := "autocue:file:test3.mp3"
end
count := count() + 1
request.create(req())
end
s = request.dynamic(id="music_alone", prefetch=2, retry_delay=10., next_track)
output.dummy(fallible=true, s)
This seems to trigger it. But only sometimes. If it succeeds try running it a few times and it should fail.
I'm sort of guessing that it may be occurring when autocue (or replaygain) calculations are occuring on different files at the same time ? Which may also deppend on the hardware being used and the speed the calculations are being done ?
The script you have with one static file passes every time for me also .
Thanks
@toots , It seems if i use global enable enable_autocue_metadata()
or enable_replaygain_metadata()
I don't get the clock conflict. Using the protocol autocue:
or replaygain:
it pops up and crashes.
Closing as seems to not longer happen.
Description
The error throws up line 196 in autocue.liq
Using the below script I get ...
Steps to reproduce
Expected behavior
N/A
Liquidsoap version
Liquidsoap build config
Installation method
From OPAM
Additional Info
This seems to occur after a couple? of requests get processed.
I've been trying to track it down further but this is the best i can do at the mo.
I'm happy to dig further if needed.
Thanks.