From 26db170fd3e830e468dca5d35a6a2881cea45284 Mon Sep 17 00:00:00 2001 From: MichaelOultram Date: Tue, 28 Jul 2015 13:45:22 +0100 Subject: [PATCH] Fixing build issues --- songqueue.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/songqueue.go b/songqueue.go index cc773c1..c198219 100644 --- a/songqueue.go +++ b/songqueue.go @@ -32,7 +32,7 @@ func (q *SongQueue) AddSong(s Song) error { if len(q.queue) == beforeLen+1 { // Caching as added to queue - if dj.conf.Cache.Enabled && c.GetCurrentTotalFileSize() > (dj.conf.Cache.MaximumSize*1048576) { + if dj.conf.Cache.Enabled && dj.cache.GetCurrentTotalFileSize() > (dj.conf.Cache.MaximumSize*1048576) { s.Download() }