From 63e0958ace2396a8857eff4988d39d4dc99bf239 Mon Sep 17 00:00:00 2001
From: David Trattnig <david.trattnig@o94.at>
Date: Mon, 25 May 2020 15:54:22 +0200
Subject: [PATCH] Include Icy Tags / Metadata for outgoing stream.

---
 modules/liquidsoap/library.liq | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/liquidsoap/library.liq b/modules/liquidsoap/library.liq
index 666ec54f..c2206954 100644
--- a/modules/liquidsoap/library.liq
+++ b/modules/liquidsoap/library.liq
@@ -46,9 +46,9 @@ def stream_to_icecast(id, encoding, bitrate, host, port, pass, mount_point, url,
         user_ref := "source"
     end
 
-    # dumbass liquidsoap cannot handle one output definition for mono and stereo
-    output_icecast_mono   = output.icecast(id = id, host = host, port = port, password = pass, mount = mount_point, fallible = true, url = url, description = description, name = name, genre = genre, user = !user_ref, on_error = on_error, on_connect = on_connect)
-    output_icecast_stereo = output.icecast(id = id, host = host, port = port, password = pass, mount = mount_point, fallible = true, url = url, description = description, name = name, genre = genre, user = !user_ref, on_error = on_error, on_connect = on_connect)
+    # Liquidsoap cannot handle one output definition for mono and stereo
+    output_icecast_mono   = output.icecast(id = id, host = host, port = port, password = pass, mount = mount_point, fallible = true, url = url, description = description, name = name, genre = genre, user = !user_ref, on_error = on_error, on_connect = on_connect, icy_metadata = "true")
+    output_icecast_stereo = output.icecast(id = id, host = host, port = port, password = pass, mount = mount_point, fallible = true, url = url, description = description, name = name, genre = genre, user = !user_ref, on_error = on_error, on_connect = on_connect, icy_metadata = "true")
 
 #    %ifencoder %aac
 #    if encoding == "aac" then
-- 
GitLab