fix(playout): %else is not defined
This commit is contained in:
parent
9384df7be2
commit
654105e865
|
@ -120,10 +120,11 @@ output.shoutcast(
|
|||
{% for output in config.stream.outputs.system -%}
|
||||
{% if output.enabled -%}
|
||||
# {{ output.kind.value }}:{{ loop.index }}
|
||||
%ifndef output.{{ output.kind.value }}
|
||||
log("output.{{ output.kind.value }} is not defined!")
|
||||
%endif
|
||||
%ifdef output.{{ output.kind.value }}
|
||||
output.{{ output.kind.value }}(id="{{ output.kind.value }}:{{ loop.index }}", s)
|
||||
%else
|
||||
log("output.{{ output.kind.value }} is not defined!")
|
||||
%endif
|
||||
|
||||
{% endif -%}
|
||||
|
|
|
@ -271,10 +271,11 @@
|
|||
%include "/fake/1.4/ls_script.liq"
|
||||
|
||||
# pulseaudio:1
|
||||
%ifndef output.pulseaudio
|
||||
log("output.pulseaudio is not defined!")
|
||||
%endif
|
||||
%ifdef output.pulseaudio
|
||||
output.pulseaudio(id="pulseaudio:1", s)
|
||||
%else
|
||||
log("output.pulseaudio is not defined!")
|
||||
%endif
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue