1
0

Remove whitespace in IcecastLastPlayedSongs.

This commit is contained in:
Alexander Andreev 2022-03-31 18:14:20 +04:00
parent a9b6e5a056
commit 4b5289223d
Signed by: Arav
GPG Key ID: 1327FE8A374CC86F

View File

@ -65,7 +65,6 @@ func IcecastGetStatus(icecastURL string) (*IcecastStatus, error) {
} }
func IcecastLastPlayedSongs(lastNSongs int, playlistPath string) ([]Song, error) { func IcecastLastPlayedSongs(lastNSongs int, playlistPath string) ([]Song, error) {
if lpcLen := len(lastPlayedCache); lpcLen > 0 { if lpcLen := len(lastPlayedCache); lpcLen > 0 {
if lastNSongs > lpcLen { if lastNSongs > lpcLen {
lastNSongs = lpcLen lastNSongs = lpcLen