mirror of
https://github.com/Sonarr/Sonarr.git
synced 2025-04-23 13:57:06 -04:00
Stop deluge torrent when they reach stop ratio
This commit is contained in:
parent
002ed9e4c7
commit
0947dfc423
1 changed files with 1 additions and 0 deletions
|
@ -158,6 +158,7 @@ namespace NzbDrone.Core.Download.Clients.Deluge
|
|||
if (seedConfiguration.Ratio != null)
|
||||
{
|
||||
ratioArguments.Add("stop_ratio", seedConfiguration.Ratio.Value);
|
||||
ratioArguments.Add("stop_at_ratio", 1);
|
||||
}
|
||||
|
||||
ProcessRequest<object>(settings, "core.set_torrent_options", new[] { hash }, ratioArguments);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue