From f7e3d9b4c2318f0051bd7353c99fd05b56b47090 Mon Sep 17 00:00:00 2001 From: Taloth Saldono Date: Thu, 23 Feb 2017 08:58:50 +0100 Subject: [PATCH] Fixed: DownloadStation regression in queue detection. --- .../Download/Clients/DownloadStation/TorrentDownloadStation.cs | 2 +- .../Download/Clients/DownloadStation/UsenetDownloadStation.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NzbDrone.Core/Download/Clients/DownloadStation/TorrentDownloadStation.cs b/src/NzbDrone.Core/Download/Clients/DownloadStation/TorrentDownloadStation.cs index de7b55031..33008530a 100644 --- a/src/NzbDrone.Core/Download/Clients/DownloadStation/TorrentDownloadStation.cs +++ b/src/NzbDrone.Core/Download/Clients/DownloadStation/TorrentDownloadStation.cs @@ -47,7 +47,7 @@ namespace NzbDrone.Core.Download.Clients.DownloadStation protected IEnumerable GetTasks() { - return _proxy.GetTasks(Settings).Where(v => v.Type == DownloadStationTaskType.BT.ToString()); + return _proxy.GetTasks(Settings).Where(v => v.Type.ToLower() == DownloadStationTaskType.BT.ToString().ToLower()); } public override IEnumerable GetItems() diff --git a/src/NzbDrone.Core/Download/Clients/DownloadStation/UsenetDownloadStation.cs b/src/NzbDrone.Core/Download/Clients/DownloadStation/UsenetDownloadStation.cs index 31524bc9d..27dacf370 100644 --- a/src/NzbDrone.Core/Download/Clients/DownloadStation/UsenetDownloadStation.cs +++ b/src/NzbDrone.Core/Download/Clients/DownloadStation/UsenetDownloadStation.cs @@ -44,7 +44,7 @@ namespace NzbDrone.Core.Download.Clients.DownloadStation protected IEnumerable GetTasks() { - return _proxy.GetTasks(Settings).Where(v => v.Type == DownloadStationTaskType.NZB.ToString()); + return _proxy.GetTasks(Settings).Where(v => v.Type.ToLower() == DownloadStationTaskType.NZB.ToString().ToLower()); } public override IEnumerable GetItems()