diff --git a/node/liquidsoap.go b/node/liquidsoap.go index 483ae3beba7f6c9309f77a6fbee5758fa6b6e78b..859ba72066dd5a5fbf42f063ee3da64eeb29e114 100644 --- a/node/liquidsoap.go +++ b/node/liquidsoap.go @@ -22,9 +22,8 @@ var ( liquidsoapConfigStr = ` # Automatically generated config. upstream = mksafe(input.http("{{.SourceURL}}", buffer=5.0)) -output.icecast(%{{.Format}}(samplerate={{.SampleRate}}, {{if gt .BitRate 0}}bitrate={{.BitRate}}, {{end}}{{if gt .Quality 0.0}}quality={{.Quality}}, {{end}}{{if eq .Channels 2}}stereo{{else}}mono{{end}}, - mount="{{.TargetMount}}", - host="{{.TargetIP}}", port={{.TargetPort}}, password="{{.TargetPassword}}", +output.icecast(%{{.Format}}(samplerate={{.SampleRate}}, {{if gt .BitRate 0}}bitrate={{.BitRate}}, {{end}}{{if gt .Quality 0.0}}quality={{.Quality}}, {{end}}{{if eq .Channels 2}}stereo{{else}}mono{{end}}), + mount="{{.TargetMount}}", host="{{.TargetIP}}", port={{.TargetPort}}, password="{{.TargetPassword}}", upstream) `