mirror of
https://github.com/Radarr/Radarr
synced 2025-01-03 22:04:43 +00: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:
parent
bbfe8c27c6
commit
64e90f35c8
1 changed files with 5 additions and 1 deletions
|
@ -221,9 +221,13 @@ public void SetDeferredMagnetProperties(string hash, string category, string dir
|
||||||
commands.Add("d.set_priority=" + (long)priority);
|
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())
|
if (commands.Any())
|
||||||
{
|
{
|
||||||
var key = "event.download.inserted";
|
var key = "event.download.inserted_new";
|
||||||
var cmd_key = "sonarr_deferred_" + hash;
|
var cmd_key = "sonarr_deferred_" + hash;
|
||||||
|
|
||||||
commands.Add(string.Format("print=\"Applying deferred properties to {0}\"", hash));
|
commands.Add(string.Format("print=\"Applying deferred properties to {0}\"", hash));
|
||||||
|
|
Loading…
Reference in a new issue