Fixing build issues
This commit is contained in:
parent
d62cdc70da
commit
26db170fd3
|
@ -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()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue