skip queue check and adding new items if download client isn't configured correctly.

This commit is contained in:
kay.one
2013-07-30 22:49:41 -07:00
parent 1eb278c7f6
commit a5bb99367e
8 changed files with 73 additions and 5 deletions
@@ -57,6 +57,14 @@ namespace NzbDrone.Core.Download.Clients.Nzbget
return false;
}
public bool IsConfigured
{
get
{
return !string.IsNullOrWhiteSpace(_configService.NzbgetHost) && _configService.NzbgetPort != 0;
}
}
public virtual IEnumerable<QueueItem> GetQueue()
{
var command = new JsonRequest