1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-04 10:02:40 +01:00

Ensure rTorrent download is started even if the user doesn't have schedule=...,start_tied= in their rtorrent.rc.

This commit is contained in:
Taloth Saldono 2016-01-21 08:40:10 +01:00
parent bbfe8c27c6
commit 64e90f35c8

View File

@ -221,9 +221,13 @@ public void SetDeferredMagnetProperties(string hash, string category, string dir
commands.Add("d.set_priority=" + (long)priority);
}
// Ensure it gets started if the user doesn't have schedule=...,start_tied=
commands.Add("d.open=");
commands.Add("d.try_start=");
if (commands.Any())
{
var key = "event.download.inserted";
var key = "event.download.inserted_new";
var cmd_key = "sonarr_deferred_" + hash;
commands.Add(string.Format("print=\"Applying deferred properties to {0}\"", hash));