|
|
@ -62,7 +62,6 @@ namespace NzbDrone.Core.Download
|
|
|
|
|
|
|
|
|
|
|
|
// Get the seed configuration for this release.
|
|
|
|
// Get the seed configuration for this release.
|
|
|
|
remoteMovie.SeedConfiguration = _seedConfigProvider.GetSeedConfiguration(remoteMovie);
|
|
|
|
remoteMovie.SeedConfiguration = _seedConfigProvider.GetSeedConfiguration(remoteMovie);
|
|
|
|
var indexer = _indexerFactory.GetInstance(_indexerFactory.Get(remoteMovie.Release.IndexerId));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Limit grabs to 2 per second.
|
|
|
|
// Limit grabs to 2 per second.
|
|
|
|
if (remoteMovie.Release.DownloadUrl.IsNotNullOrWhiteSpace() && !remoteMovie.Release.DownloadUrl.StartsWith("magnet:"))
|
|
|
|
if (remoteMovie.Release.DownloadUrl.IsNotNullOrWhiteSpace() && !remoteMovie.Release.DownloadUrl.StartsWith("magnet:"))
|
|
|
@ -71,6 +70,13 @@ namespace NzbDrone.Core.Download
|
|
|
|
_rateLimitService.WaitAndPulse(url.Host, TimeSpan.FromSeconds(2));
|
|
|
|
_rateLimitService.WaitAndPulse(url.Host, TimeSpan.FromSeconds(2));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
IIndexer indexer = null;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (remoteMovie.Release.IndexerId > 0)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
indexer = _indexerFactory.GetInstance(_indexerFactory.Get(remoteMovie.Release.IndexerId));
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
string downloadClientId;
|
|
|
|
string downloadClientId;
|
|
|
|
try
|
|
|
|
try
|
|
|
|
{
|
|
|
|
{
|
|
|
|