From e8dab2340adabd2af3eaf35e9b6c7eef37a119f0 Mon Sep 17 00:00:00 2001 From: Martin Konecny Date: Wed, 25 May 2011 13:58:50 -0400 Subject: [PATCH] CC-2320: liquidsoap.cfg vorbis metadata value does not effect the stream. -fixed --- python_apps/pypo/scripts/ls_script.liq | 36 +++++++++++++++++--------- 1 file changed, 24 insertions(+), 12 deletions(-) diff --git a/python_apps/pypo/scripts/ls_script.liq b/python_apps/pypo/scripts/ls_script.liq index 85ffd1a58..0689a309f 100644 --- a/python_apps/pypo/scripts/ls_script.liq +++ b/python_apps/pypo/scripts/ls_script.liq @@ -70,20 +70,32 @@ end if output_icecast_vorbis then - #remove metadata from ogg source and merge tracks to fix bug - #with vlc and mplayer disconnecting at the end of every track if output_icecast_vorbis_metadata then + out_vorbis = output.icecast(%vorbis, + host = icecast_host, port = icecast_port, + password = icecast_pass, mount = mount_point_vorbis, + fallible = true, + restart = true, + restart_delay = 5, + url = icecast_url, + description = icecast_description, + genre = icecast_genre, + s) + else + #remove metadata from ogg source and merge tracks to fix bug + #with vlc and mplayer disconnecting at the end of every track s = add(normalize=false, [amplify(0.00001, noise()),s]) + out_vorbis = output.icecast(%vorbis, + host = icecast_host, port = icecast_port, + password = icecast_pass, mount = mount_point_vorbis, + fallible = true, + restart = true, + restart_delay = 5, + url = icecast_url, + description = icecast_description, + genre = icecast_genre, + s) end - out_vorbis = output.icecast(%vorbis, - host = icecast_host, port = icecast_port, - password = icecast_pass, mount = mount_point_vorbis, - fallible = true, - restart = true, - restart_delay = 5, - url = icecast_url, - description = icecast_description, - genre = icecast_genre, - s) + end