From ec7eb5f264589a08ee645bf587de5ba58a564aa9 Mon Sep 17 00:00:00 2001 From: Martin Konecny Date: Sat, 4 May 2013 14:11:21 -0400 Subject: [PATCH] CC-5094 Liquidsoap crash if unsupported encoder in the liq script -keep up with liquidsoap changes --- python_apps/pypo/liquidsoap_scripts/ls_lib.liq | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/python_apps/pypo/liquidsoap_scripts/ls_lib.liq b/python_apps/pypo/liquidsoap_scripts/ls_lib.liq index 82f04b189..a1fb07a38 100644 --- a/python_apps/pypo/liquidsoap_scripts/ls_lib.liq +++ b/python_apps/pypo/liquidsoap_scripts/ls_lib.liq @@ -129,19 +129,19 @@ def output_to(output_type, type, bitrate, host, port, pass, mount_point, url, de %include "ogg.liq" end - %ifdef_encoder %opus + %ifencoder %opus if type == "opus" then %include "opus.liq" end %endif - %ifdef_encoder %aac + %ifencoder %aac if type == "aac" then %include "aac.liq" end %endif - %ifdef_encoder %aacplus + %ifencoder %aacplus if type == "aacplus" then %include "aacplus.liq" end @@ -180,13 +180,13 @@ def output_to(output_type, type, bitrate, host, port, pass, mount_point, url, de %include "mp3.liq" end - %ifdef_encoder %aac + %ifencoder %aac if type == "aac" then %include "aac.liq" end %endif - %ifdef_encoder %aacplus + %ifencoder %aacplus if type == "aacplus" then %include "aacplus.liq" end