1
0

For some log messages changed capital letter to lowercase.

This commit is contained in:
Alexander Andreev 2023-08-21 05:45:12 +04:00
parent 60fae56a28
commit 76b3e2e8ad
Signed by: Arav
GPG Key ID: D22A817D95815393
2 changed files with 3 additions and 3 deletions

View File

@ -76,7 +76,7 @@ func main() {
defer func() {
err := os.WriteFile(*mostListenedSongPath, radio.StoreMostListenedSong(), fs.ModePerm)
if err != nil {
log.Println("Failed to store most listened song:", err)
log.Println("failed to store a most listened song:", err)
}
if err := srv.Stop(); err != nil {

View File

@ -190,7 +190,7 @@ func (pw *PlaylistLogWatcher) Watch(playlistPath string, n int) (err error) {
if err == nil && len(songs) > 0 {
lastPlayedCache = append(lastPlayedCache, songs...)
} else if err != nil {
log.Fatalln("Failed to retrieve last songs:", err)
log.Fatalln("failed to retrieve last songs:", err)
}
}
@ -215,7 +215,7 @@ func (pw *PlaylistLogWatcher) Watch(playlistPath string, n int) (err error) {
currentlyPlaying = songs[0]
}
} else if err != nil {
log.Println("Failed to retrieve last songs:", err)
log.Println("failed to retrieve last songs:", err)
}
lastPlayedCacheMutex.Unlock()
} else if mask&syscall.IN_IGNORED > 0 {