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: "http://radio.arav.home.arpa/status-json.xsl"
|
||||
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
|
||||
list_last_n_songs: 10
|
||||
log:
|
||||
|
@ -15,6 +15,10 @@ type Configuration struct {
|
||||
URL string `yaml:"url"`
|
||||
Playlist string `yaml:"playlist_path"`
|
||||
} `yaml:"icecast"`
|
||||
Liquidsoap struct {
|
||||
ExecPath string `yaml:"executable_path"`
|
||||
ScriptPath string `yaml:"script_path"`
|
||||
} `yaml:"liquidsoap"`
|
||||
ListLastNSongs int `yaml:"list_last_n_songs"`
|
||||
Log struct {
|
||||
ToStdout bool `yaml:"stdout"`
|
||||
|
Loading…
Reference in New Issue
Block a user