diff --git a/node/liquidsoap.go b/node/liquidsoap.go index 754491053e1ce2588933e6d69a74b48a635397a9..07a13edbb5eba8203dbe88fe710c312521f76207 100644 --- a/node/liquidsoap.go +++ b/node/liquidsoap.go @@ -24,7 +24,7 @@ set("log.stdout", true) set("log.unix_timestamps", false) upstream = mksafe(input.http("{{.SourceURL}}", buffer=5.0)) -output.icecast(%{{.Format}}(samplerate={{.SampleRate}}, {{if gt .BitRate 0}}bitrate={{.BitRate}}, {{end}}{{if gt .Quality -1.0}}quality={{.Quality}}, {{end}}{{if .StereoMode}}stereo_mode={{.StereoMode}}, {{end}}{{if eq .Channels 2}}stereo{{else}}mono{{end}}), +output.icecast(%{{.Format}}(samplerate={{.SampleRate}}, {{if gt .BitRate 0}}bitrate={{.BitRate}}, {{end}}{{if gt .Quality -1.0}}quality={{.Quality}}, {{end}}{{if .StereoMode}}stereo_mode="{{.StereoMode}}", {{end}}{{if eq .Channels 2}}stereo{{else}}mono{{end}}), mount="{{.TargetMount}}", host="{{.TargetIP}}", port={{.TargetPort}}, user="{{.TargetUsername}}", password="{{.TargetPassword}}", upstream) `