From c13767d1fd2d3aed5dc687fbb97a2aada8a2f4c7 Mon Sep 17 00:00:00 2001 From: Romain Beauxis Date: Sat, 10 Feb 2024 13:27:57 -0600 Subject: [PATCH] Update 2024-02-10-video-canvas-and-ai.md --- _posts/2024-02-10-video-canvas-and-ai.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/_posts/2024-02-10-video-canvas-and-ai.md b/_posts/2024-02-10-video-canvas-and-ai.md index c4433b405f15..63572aaf3bd1 100644 --- a/_posts/2024-02-10-video-canvas-and-ai.md +++ b/_posts/2024-02-10-video-canvas-and-ai.md @@ -5,6 +5,8 @@ title: Video Canvas and AI Liquidsoap did not make it to FOSDEM this year, unfortunately. We had a nice example of advanced video use to present so here it is! +The code presented in this article is available here: https://github.com/savonet/ai-radio + ## The setup We are looking at a cleaned-up version of a code that has been contributed by several members of the awesome [Azuracast](https://www.azuracast.com/) project. We've been good friend @@ -418,7 +420,7 @@ Couple of things to note here: We're now ready to plug in our DJ! Right before we start adding video dynamic element we can add: -``liquidsoap +```liquidsoap # Queue of DJ speech requests append_queue = request.queue() @@ -448,5 +450,8 @@ radio = source.on_metadata(radio, process_dj_metadata) radio = fallback(track_sensitive=true, [append_queue, radio]) ``` +Let's hear our DJ! + +