mirror of
https://github.com/simon-ding/polaris.git
synced 2026-04-20 10:47:30 +08:00
feat: block torrent in blacklist from addng to download client
This commit is contained in:
@@ -56,6 +56,7 @@ func (c *Engine) Init() {
|
||||
func (c *Engine) GetTask(id int) (*Task, bool) {
|
||||
return c.tasks.Load(id)
|
||||
}
|
||||
|
||||
func (c *Engine) reloadUsingBuildinDownloader(h *ent.History) error{
|
||||
cl, err := buildin.NewDownloader(c.db.GetDownloadDir())
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user