Hotfix: Download Uncached

This commit is contained in:
Mukhtar Akere
2024-09-15 22:28:07 +01:00
parent 329e4c60f5
commit 2ec0354881

View File

@@ -201,6 +201,11 @@ func (r *RealDebrid) CheckStatus(torrent *Torrent) (*Torrent, error) {
return torrent, err
}
break
} else if status == "downloading" {
if !r.DownloadUncached {
// @TODO: Delete the torrent if it's not cached
return torrent, fmt.Errorf("torrent: %s not cached", torrent.Name)
}
}
}