Remove whitespace in IcecastLastPlayedSongs.
This commit is contained in:
parent
a9b6e5a056
commit
4b5289223d
@ -65,7 +65,6 @@ func IcecastGetStatus(icecastURL string) (*IcecastStatus, error) {
|
||||
}
|
||||
|
||||
func IcecastLastPlayedSongs(lastNSongs int, playlistPath string) ([]Song, error) {
|
||||
|
||||
if lpcLen := len(lastPlayedCache); lpcLen > 0 {
|
||||
if lastNSongs > lpcLen {
|
||||
lastNSongs = lpcLen
|
||||
|
Loading…
Reference in New Issue
Block a user