From 968b739bf41b77574b65887d6be1e6f7999f12b9 Mon Sep 17 00:00:00 2001 From: Albert Santoni Date: Tue, 10 Mar 2015 12:41:45 -0400 Subject: [PATCH] Make 4th stream backwards compatible with the autogenerated liquidsoap.cfg --- python_apps/pypo/liquidsoap_scripts/ls_script.liq | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python_apps/pypo/liquidsoap_scripts/ls_script.liq b/python_apps/pypo/liquidsoap_scripts/ls_script.liq index 398def91a..46ced98dc 100644 --- a/python_apps/pypo/liquidsoap_scripts/ls_script.liq +++ b/python_apps/pypo/liquidsoap_scripts/ls_script.liq @@ -401,6 +401,7 @@ if s3_enable == true then s3_connected, s3_description, s3_channels) end +%ifdef s4_enable if s4_enable == true then if s4_output == 'shoutcast' then s4_namespace := "shoutcast_stream_4" @@ -412,6 +413,8 @@ if s4_enable == true then s4_mount, s4_url, s4_name, s4_genre, s4_user, s, "4", s4_connected, s4_description, s4_channels) end +%endif + command = "/usr/lib/airtime/pypo/bin/liquidsoap_scripts/notify.sh --liquidsoap-started &" log(command)