mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
Fixed: Qbit torrents treated as failed after error
(cherry picked from commit 7e175bf95ed0a7b624b04a397b953f27043211ae) Signed-off-by: bakerboy448 <55419169+bakerboy448@users.noreply.github.com>
This commit is contained in:
parent
b1aef10ef2
commit
d30e0fedfc
2 changed files with 3 additions and 3 deletions
|
@ -172,7 +172,7 @@ namespace NzbDrone.Core.Test.Download.DownloadClientTests.QBittorrentTests
|
|||
GivenTorrents(new List<QBittorrentTorrent> { torrent });
|
||||
|
||||
var item = Subject.GetItems().Single();
|
||||
VerifyFailed(item);
|
||||
VerifyWarning(item);
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
|
|
@ -239,8 +239,8 @@ namespace NzbDrone.Core.Download.Clients.QBittorrent
|
|||
|
||||
switch (torrent.State)
|
||||
{
|
||||
case "error": // some error occurred, applies to paused torrents
|
||||
item.Status = DownloadItemStatus.Failed;
|
||||
case "error": // some error occurred, applies to paused torrents, warning so failed download handling isn't triggered
|
||||
item.Status = DownloadItemStatus.Warning;
|
||||
item.Message = "qBittorrent is reporting an error";
|
||||
break;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue