Add debug println.
This commit is contained in:
parent
2ec461a90f
commit
9c2a2c67bb
@ -80,6 +80,7 @@ func IcecastLastPlayedSongs(lastNSongs int, playlistPath string) []Song {
|
|||||||
for _, song := range songs_ {
|
for _, song := range songs_ {
|
||||||
log.Println(song)
|
log.Println(song)
|
||||||
ts := strings.Split(song, "|")
|
ts := strings.Split(song, "|")
|
||||||
|
log.Println(ts)
|
||||||
tim, _ := time.Parse("02/01/2006:15:04:05 -0700", ts[0])
|
tim, _ := time.Parse("02/01/2006:15:04:05 -0700", ts[0])
|
||||||
at := strings.Split(ts[1], "-")
|
at := strings.Split(ts[1], "-")
|
||||||
songs = append(songs, Song{
|
songs = append(songs, Song{
|
||||||
|
Loading…
Reference in New Issue
Block a user