You've already forked Sonarr
mirror of
https://github.com/Sonarr/Sonarr.git
synced 2025-07-15 01:25:05 +02:00
fixed NotInQueueSpecification throwing exceptions when it couldn't parse an item in the queue.
This commit is contained in:
@ -28,7 +28,7 @@ namespace NzbDrone.Core.DecisionEngine.Specifications
|
|||||||
{
|
{
|
||||||
var downloadClient = _downloadClientProvider.GetDownloadClient();
|
var downloadClient = _downloadClientProvider.GetDownloadClient();
|
||||||
|
|
||||||
var queue = downloadClient.GetQueue().Select(q => Parser.Parser.ParseTitle(q.Title));
|
var queue = downloadClient.GetQueue().Select(queueItem => Parser.Parser.ParseTitle(queueItem.Title)).Where(episodeInfo => episodeInfo != null);
|
||||||
|
|
||||||
return !IsInQueue(subject, queue);
|
return !IsInQueue(subject, queue);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user