From 9c2a2c67bbe2e0f746a4980750f55389caf4d011 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Wed, 9 Mar 2022 23:53:35 +0400 Subject: [PATCH] Add debug println. --- internal/radio/icecast.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/radio/icecast.go b/internal/radio/icecast.go index 6e5ed7a..1f55710 100644 --- a/internal/radio/icecast.go +++ b/internal/radio/icecast.go @@ -80,6 +80,7 @@ func IcecastLastPlayedSongs(lastNSongs int, playlistPath string) []Song { for _, song := range songs_ { log.Println(song) ts := strings.Split(song, "|") + log.Println(ts) tim, _ := time.Parse("02/01/2006:15:04:05 -0700", ts[0]) at := strings.Split(ts[1], "-") songs = append(songs, Song{