Stop deluge torrent when they reach stop ratio

Kevin Richter 6 years ago committed by Taloth Saldono
parent 002ed9e4c7
commit 0947dfc423

@ -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…
Cancel
Save