diff --git a/internal/radio/icecast.go b/internal/radio/icecast.go index a8c8ea5..88a5ecc 100644 --- a/internal/radio/icecast.go +++ b/internal/radio/icecast.go @@ -150,7 +150,7 @@ func lastPlayedSongs(playlistPath string, n int) ([]Song, error) { n = len(lines) } - lines = lines[len(lines)-n-3 : len(lines)-3] + lines = lines[len(lines)-n-2 : len(lines)-2] for _, line := range lines { fields := bytes.Split(line, []byte("|"))