Added configuration fields for a liquidsoap.
This commit is contained in:
parent
e0794d395d
commit
e94973920e
@ -6,6 +6,9 @@ icecast:
|
|||||||
# URL to Icecast's status-json.xsl
|
# URL to Icecast's status-json.xsl
|
||||||
url: "http://radio.arav.home.arpa/status-json.xsl"
|
url: "http://radio.arav.home.arpa/status-json.xsl"
|
||||||
playlist_path: "/var/log/icecast/playlist.log"
|
playlist_path: "/var/log/icecast/playlist.log"
|
||||||
|
liquidsoap:
|
||||||
|
executable_path: "/usr/bin/liquidsoap"
|
||||||
|
script_path: "/etc/dwelling/radio.liq"
|
||||||
# How much songs to list on a page
|
# How much songs to list on a page
|
||||||
list_last_n_songs: 10
|
list_last_n_songs: 10
|
||||||
log:
|
log:
|
||||||
|
@ -15,6 +15,10 @@ type Configuration struct {
|
|||||||
URL string `yaml:"url"`
|
URL string `yaml:"url"`
|
||||||
Playlist string `yaml:"playlist_path"`
|
Playlist string `yaml:"playlist_path"`
|
||||||
} `yaml:"icecast"`
|
} `yaml:"icecast"`
|
||||||
|
Liquidsoap struct {
|
||||||
|
ExecPath string `yaml:"executable_path"`
|
||||||
|
ScriptPath string `yaml:"script_path"`
|
||||||
|
} `yaml:"liquidsoap"`
|
||||||
ListLastNSongs int `yaml:"list_last_n_songs"`
|
ListLastNSongs int `yaml:"list_last_n_songs"`
|
||||||
Log struct {
|
Log struct {
|
||||||
ToStdout bool `yaml:"stdout"`
|
ToStdout bool `yaml:"stdout"`
|
||||||
|
Loading…
Reference in New Issue
Block a user