1
0

Changed path to a mostlistenedsong file.

This commit is contained in:
Alexander Andreev 2023-08-19 19:48:28 +04:00
parent 64353210d7
commit 6c46d2cf5f
Signed by: Arav
GPG Key ID: D22A817D95815393
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ var (
icecastUrl = flag.String("ic-url", "", "URL to an Icecast's status-json.xsl") icecastUrl = flag.String("ic-url", "", "URL to an Icecast's status-json.xsl")
icecastPlaylistPath = flag.String("ic-playlist", "/var/log/icecast/playlist.log", "path to an Icecast's playlist.log file") icecastPlaylistPath = flag.String("ic-playlist", "/var/log/icecast/playlist.log", "path to an Icecast's playlist.log file")
filelistPath = flag.String("filelist", "/srv/radio/filelist.html", "path to a filelist.html file") filelistPath = flag.String("filelist", "/srv/radio/filelist.html", "path to a filelist.html file")
mostListenedSongPath = flag.String("mls-file", "/mnt/data/appdata/mostlistenedsong", "path to a file that stores info about the most listened song") mostListenedSongPath = flag.String("mls-file", "/srv/radio/mostlistenedsong", "path to a file that stores info about the most listened song")
songListLen = flag.Int("lst-len", 10, "number of songs to show in last N songs table") songListLen = flag.Int("lst-len", 10, "number of songs to show in last N songs table")
showVersion = flag.Bool("v", false, "show version") showVersion = flag.Bool("v", false, "show version")

View File

@ -11,7 +11,7 @@ ExecStart=/usr/bin/dwelling-radio -listen /var/run/dwelling-radio/sock \
-ic-url http://radio.arav.home.arpa/status-json.xsl \ -ic-url http://radio.arav.home.arpa/status-json.xsl \
-ic-playlist /var/log/icecast/playlist.log \ -ic-playlist /var/log/icecast/playlist.log \
-filelist /srv/radio/filelist.html \ -filelist /srv/radio/filelist.html \
-mls-file /mnt/data/appdata/mostlistenedsong \ -mls-file /srv/radio/mostlistenedsong \
-lst-len 10 -lst-len 10
ReadOnlyPaths=/ ReadOnlyPaths=/