1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-14 11:23:42 +02:00

Fixed: Don't process downloads removed from the client

Fixes #3557
This commit is contained in:
Mark McDowall 2020-03-03 20:32:06 -08:00 committed by Mark McDowall
parent c862fd9ff6
commit 7f7d196e44

View File

@ -36,7 +36,9 @@ public DownloadProcessingService(IConfigService configService,
public void Execute(ProcessMonitoredDownloadsCommand message)
{
var enableCompletedDownloadHandling = _configService.EnableCompletedDownloadHandling;
var trackedDownloads = _trackedDownloadService.GetTrackedDownloads();
var trackedDownloads = _trackedDownloadService.GetTrackedDownloads()
.Where(t => t.IsTrackable)
.ToList();
foreach (var trackedDownload in trackedDownloads)
{