mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
skip queue check and adding new items if download client isn't configured correctly.
This commit is contained in:
@@ -27,9 +27,15 @@ namespace NzbDrone.Core.Download
|
||||
public bool DownloadReport(RemoteEpisode remoteEpisode)
|
||||
{
|
||||
var downloadTitle = remoteEpisode.Report.Title;
|
||||
var provider = _downloadClientProvider.GetDownloadClient();
|
||||
var downloadClient = _downloadClientProvider.GetDownloadClient();
|
||||
|
||||
bool success = provider.DownloadNzb(remoteEpisode);
|
||||
if (!downloadClient.IsConfigured)
|
||||
{
|
||||
_logger.Warn("Download client {0} isn't configured yet.", downloadClient.GetType().Name);
|
||||
return false;
|
||||
}
|
||||
|
||||
bool success = downloadClient.DownloadNzb(remoteEpisode);
|
||||
|
||||
if (success)
|
||||
{
|
||||
|
Reference in New Issue
Block a user