# THIS FILE IS AUTO GENERATED. PLEASE DO NOT EDIT! ########################################################### # The ignore() lines are to squash unused variable warnings # Inputs master_live_stream_mp = "{{ config.stream.inputs.main.mount }}" master_live_stream_port = {{ config.stream.inputs.main.port }} dj_live_stream_mp = "{{ config.stream.inputs.show.mount }}" dj_live_stream_port = {{ config.stream.inputs.show.port }} {% for output in config.stream.outputs.merged -%} # Output s{{ loop.index }} s{{ loop.index }}_enable = {{ output.enabled | lower }} s{{ loop.index }}_output = "{{ output.kind }}" s{{ loop.index }}_host = "{{ output.host }}" s{{ loop.index }}_port = {{ output.port }} s{{ loop.index }}_mount = "{{ output.mount }}" s{{ loop.index }}_user = "{{ output.source_user }}" s{{ loop.index }}_pass = "{{ output.source_password }}" s{{ loop.index }}_channels = "{{ output.audio.channels.value }}" s{{ loop.index }}_type = "{{ output.audio.format.value }}" s{{ loop.index }}_bitrate = {{ output.audio.bitrate }} s{{ loop.index }}_name = "{{ output.name or '' }}" s{{ loop.index }}_description = "{{ output.description or '' }}" s{{ loop.index }}_genre = "{{ output.genre or '' }}" s{{ loop.index }}_url = "{{ output.website or '' }}" {% endfor -%} icecast_vorbis_metadata = {{ icecast_vorbis_metadata | lower }} # System output output_sound_device = {{ config.stream.outputs.system[0].enabled | lower }} output_sound_device_type = "{{ config.stream.outputs.system[0].kind.value }}" # Settings auth_path = "{{ paths.auth_filepath }}" {% if paths.log_filepath is defined -%} set("log.file.path", "{{ paths.log_filepath }}") {%- else -%} set("log.file", false) {%- endif %} set("server.telnet", true) set("server.telnet.port", 1234) {% if version >= (1, 3, 3) -%} set("harbor.bind_addrs", ["0.0.0.0"]) {%- else -%} set("harbor.bind_addr", "0.0.0.0") {%- endif %} station_name = ref "{{ info.station_name }}" off_air_meta = "{{ preferences.message_offline }}" stream_metadata_type = ref {{ preferences.message_format.value }} default_dj_fade = ref {{ preferences.input_fade_transition }} %include "{{ paths.lib_filepath }}"