1
0

Added most_listened_song_file_path option.

This commit is contained in:
Alexander Andreev 2023-03-13 01:40:30 +04:00
parent 2b47748c30
commit 1b91f70edd
Signed by: Arav
GPG Key ID: D22A817D95815393
2 changed files with 4 additions and 2 deletions

View File

@ -7,6 +7,7 @@ icecast:
url: "http://radio.arav.home.arpa/status-json.xsl"
playlist_path: "/var/log/icecast/playlist.log"
filelist_path: "/srv/radio/filelist.html"
most_listened_song_file_path: "/mnt/data/appdata/mostlistenedsong"
liquidsoap:
executable_path: "/opt/opam/4.14.0/bin/liquidsoap"
script_path: "/etc/dwelling/radio.liq"

View File

@ -15,6 +15,7 @@ type Configuration struct {
Playlist string `yaml:"playlist_path"`
} `yaml:"icecast"`
FilelistPath string `yaml:"filelist_path"`
MostListenedSongPath string `yaml:"most_listened_song_file_path"`
Liquidsoap struct {
ExecPath string `yaml:"executable_path"`
ScriptPath string `yaml:"script_path"`