On Mon, 23 Aug 2021 at 08:36, Romain Beauxis <romain.beau...@gmail.com>
wrote:

> Hi John,
> Thanks for this report. I actually pushed the changes to decode and pass
> metadata from ffmpeg frames when converting back to liquidsoap frame format
> in this PR: https://github.com/savonet/liquidsoap/pull/1812
> In it, I failed to notice your use case and assumed that we could drop
> metadata when converting from liquidsoap frame format to ffmpeg's. I'll be
> fixing this shortly.
>
>>
>> def handle_metadata(m) =
>>   t = m["title"]
>>   a = m["artist"]
>>   icy.update_metadata(host="127.0.0.1", port=8000, password="[PASSWORD]",
>> mount="test.aac", [("title", t), ("artist", a)])
>> end
>>
>

> Then, the handle_metadata() function is called before track boundaries
>> disappear i.e. before any crossfade function.
>> radio.on_track(handle_metadata)
>>
>
Good of you to look into this, Romain. I'll check the new version when
you're ready. The 2.0.0 from git, compiled on Saturday, has been running
very smoothly, providing three differently processed streams.
JW
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to