From 38fd0ab7cda080c40e9dd81838d224afa3168cdc Mon Sep 17 00:00:00 2001 From: MichaelOultram Date: Tue, 28 Jul 2015 14:18:43 +0100 Subject: [PATCH] Fixing build issues --- songqueue.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/songqueue.go b/songqueue.go index 2b111e2..67db542 100644 --- a/songqueue.go +++ b/songqueue.go @@ -30,12 +30,6 @@ func (q *SongQueue) AddSong(s Song) error { beforeLen := q.Len() q.queue = append(q.queue, s) if len(q.queue) == beforeLen+1 { - - // Caching as added to queue - if dj.conf.Cache.Enabled && dj.cache.GetCurrentTotalFileSize() < (dj.conf.Cache.MaximumSize*1048576) { - s.Download() - } - return nil } return errors.New("Could not add Song to the SongQueue.")