Added most_listened_song_file_path option.
This commit is contained in:
parent
2b47748c30
commit
1b91f70edd
@ -7,6 +7,7 @@ icecast:
|
|||||||
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"
|
||||||
filelist_path: "/srv/radio/filelist.html"
|
filelist_path: "/srv/radio/filelist.html"
|
||||||
|
most_listened_song_file_path: "/mnt/data/appdata/mostlistenedsong"
|
||||||
liquidsoap:
|
liquidsoap:
|
||||||
executable_path: "/opt/opam/4.14.0/bin/liquidsoap"
|
executable_path: "/opt/opam/4.14.0/bin/liquidsoap"
|
||||||
script_path: "/etc/dwelling/radio.liq"
|
script_path: "/etc/dwelling/radio.liq"
|
||||||
|
@ -14,8 +14,9 @@ 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"`
|
||||||
FilelistPath string `yaml:"filelist_path"`
|
FilelistPath string `yaml:"filelist_path"`
|
||||||
Liquidsoap struct {
|
MostListenedSongPath string `yaml:"most_listened_song_file_path"`
|
||||||
|
Liquidsoap struct {
|
||||||
ExecPath string `yaml:"executable_path"`
|
ExecPath string `yaml:"executable_path"`
|
||||||
ScriptPath string `yaml:"script_path"`
|
ScriptPath string `yaml:"script_path"`
|
||||||
} `yaml:"liquidsoap"`
|
} `yaml:"liquidsoap"`
|
||||||
|
Loading…
Reference in New Issue
Block a user