Don't delete the torrent when it's finished when it comes from the QBittorrentAPI, let the caller handle deletion

This commit is contained in:
Roger Far 2020-04-18 12:46:39 -06:00
parent 731daddc99
commit 5234f6cad3

View file

@ -222,7 +222,7 @@ namespace RdtClient.Web.Controllers
foreach (var url in urls)
{
await _qBittorrent.TorrentsAdd(url.Trim(), true, true);
await _qBittorrent.TorrentsAdd(url.Trim(), true, false);
}
return Ok();
@ -242,7 +242,7 @@ namespace RdtClient.Web.Controllers
await file.CopyToAsync(target);
var fileBytes = target.ToArray();
await _qBittorrent.TorrentsAddFile(fileBytes, true, true);
await _qBittorrent.TorrentsAddFile(fileBytes, true, false);
}
}