Open xogium opened 1 week ago
Hi! I have looked at this and here's what I found:
say:
is working. I believe there might an issue on your side. Maybe something changes since 2.2.1
but I've been able to confirm the expected behavior when settings.protocol.say.implementation
points to a valid implementation. Default implementation for say:
in 2.3.x
is: say
for macos (the say
binary) and pico2wave
for all other OSes.
I want to clean this up but I believe that this'll have to be for after the release.
Ideally, the append
source should not crash the whole script when the appended source fails. More generally, the programmer should have better control of streaming errors.
Description
When liquidsoap 2.3.0 from main runs with source.say_metadata being used, we get the following mess at startup.
Then the script terminates itself. Looks like say: needs to be updated to conform to ls 2.3.0's new behavior?
Steps to reproduce
create a playlist like so:
music = mksafe(playlist("/path/to/directory",reload_mode="watch"))
Then add this:
radio = mksafe(source.say_metadata(music))
Output the resulting stream to pulseaudio or icecast, whatever output you choose.
Expected behavior
Liquidsoap should then proceeed to play the stream as requested, inserting song titles / metadata with source.say_metadata as requested.
Liquidsoap version
Liquidsoap build config
Installation method
From OPAM
Additional Info
OS is ArchLinux, fully up to date. Opam version is 2.2.1. I've installed liquidsoap by pinning the git repo. Currently using the main branch on commit b1ad6404ef948eef183ef816b11647200336ba86.