Open iSerganov opened 4 months ago
Important update: the issue occurs when I run Liquidsoap docker container on my MacOS laptop (arm64). The very same Liquidsoap image works fine when running on linux based docker host. 🤷♂️
Hi @iSerganov, I’m away but took a quick look at the autocue.cue_file
part. Your build config and script look good to me, can’t really see where the Unix error and clock issue could come from.
Unfortunately, I don’t have a MacOS arm64-based system to test, and don’t really know what’s in the Docker you use. autocue.cue_file
wants Python3 (3.7+ I believe), ffmpeg
and ̀ffprobe
somewhere in the path, and (ideally, but optional) Python3 Mutagen be installed. Plus of course the cue_file
executable (a Python script).
Please let me know should it turn out that there is an issue with autocue.cue_file
—thanks!
@Moonbase59 , thanks for looking into this!
I am not familiar with OCaml and it's very difficult for me to say where the exact issue is, but I am hesitating to say that it is in autocue.cue_file
(maybe it just triggers something that contains bug).
What I do clearly see is that it happens randomly regardless of the input track and it happens only when enable_autocue_metadata
(https://github.com/savonet/liquidsoap/blob/27dda43947cdb39fca16a9fb435dc9f45bee1e4b/src/libs/autocue.liq#L932) is called after including autocue.cue_file
into a .liq
script.
So issue OCCURS:
%include "autocue.cue_file.liq"
enable_autocue_metadata()
Issue DOES NOT occur:
enable_autocue_metadata()
The exact exception happens in the posix_time2 module in a place that was added there in the latest release - v2.0.2.
I am not really sure what exactly makes it fail specifically when running official Liquidsoap image on my M1 MacBook while still working fine on Linux...
However I will be glad to help you to debug and troubleshoot it. Just let me know if any kind of additional information (debug logs, system info, etc.) may be helpful for the investigation - I will do my best to get it asap.
Description
Tried to add loudness normalization to my
.liq
script.Versions: Liquidsoap v2.2.5 autocue.cue_file.liq and cue_file v4.1.0
.liq file:
Autocue check passes fine.
When a track playback starts an error occurs in runtime:
And liquidsoap crashes.
Track data from the console:
Issue starts only after adding the latest
%include "autocue.cue_file.liq"
.Steps to reproduce
Include the latest https://github.com/Moonbase59/autocue/blob/master/autocue.cue_file.liq file into your
.liq
config file and load your playlist with MP3 files.Expected behavior
No runtime exception and Liquidsoap crash.
Liquidsoap version
Liquidsoap build config
Installation method
From official container image
Additional Info
No response