mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-20 21:54:25 -04: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