Fixing build issues
This commit is contained in:
parent
26db170fd3
commit
87f70a7f8c
|
@ -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 && dj.cache.GetCurrentTotalFileSize() > (dj.conf.Cache.MaximumSize*1048576) {
|
||||
if dj.conf.Cache.Enabled && dj.cache.GetCurrentTotalFileSize() < (dj.conf.Cache.MaximumSize*1048576) {
|
||||
s.Download()
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue