1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00

Fixed: Force priority items in paused SAB queue won't show as paused

This commit is contained in:
Mark McDowall 2017-08-27 10:56:21 -07:00
parent 77cdb542b6
commit bbd38dec29
No known key found for this signature in database
GPG Key ID: D4CEFA9A718052E0

View File

@ -81,7 +81,8 @@ private IEnumerable<DownloadClientItem> GetQueue()
queueItem.CanBeRemoved = true;
queueItem.CanMoveFiles = true;
if (sabQueue.Paused || sabQueueItem.Status == SabnzbdDownloadStatus.Paused)
if ((sabQueue.Paused && sabQueueItem.Priority != SabnzbdPriority.Force) ||
sabQueueItem.Status == SabnzbdDownloadStatus.Paused)
{
queueItem.Status = DownloadItemStatus.Paused;