Fixing build issues

This commit is contained in:
MichaelOultram 2015-07-28 13:45:22 +01:00
parent d62cdc70da
commit 26db170fd3

View file

@ -32,7 +32,7 @@ func (q *SongQueue) AddSong(s Song) error {
if len(q.queue) == beforeLen+1 { if len(q.queue) == beforeLen+1 {
// Caching as added to queue // 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() s.Download()
} }