1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-17 21:26:22 -04:00

Stop deluge torrent when they reach stop ratio

This commit is contained in:
Kevin Richter
2018-05-04 18:52:35 +02:00
committed by Taloth Saldono
parent 002ed9e4c7
commit 0947dfc423

View File

@@ -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);