From 86a53141ad95cc4eb112dc3123af7e85ac632a80 Mon Sep 17 00:00:00 2001 From: Jef LeCompte Date: Wed, 4 Dec 2019 12:02:39 -0500 Subject: [PATCH] Fixed: Handle qBittorrent "moving" state --- .../Download/Clients/QBittorrent/QBittorrent.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/NzbDrone.Core/Download/Clients/QBittorrent/QBittorrent.cs b/src/NzbDrone.Core/Download/Clients/QBittorrent/QBittorrent.cs index 2819fd857..318bac396 100644 --- a/src/NzbDrone.Core/Download/Clients/QBittorrent/QBittorrent.cs +++ b/src/NzbDrone.Core/Download/Clients/QBittorrent/QBittorrent.cs @@ -196,8 +196,14 @@ public override IEnumerable GetItems() } break; + case "moving": // torrent is being moved from a folder case "downloading": // torrent is being downloaded and data is being transfered + item.Status = DownloadItemStatus.Downloading; + break; + default: // new status in API? default to downloading + item.Message = "Unknown download state: " + torrent.State; + _logger.Info(item.Message); item.Status = DownloadItemStatus.Downloading; break; }