From 2daf7dd01a49caf4628cbb2c70e36a6215f7227d 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 7df326f06..6a3b75804 100644 --- a/src/NzbDrone.Core/Download/Clients/QBittorrent/QBittorrent.cs +++ b/src/NzbDrone.Core/Download/Clients/QBittorrent/QBittorrent.cs @@ -194,8 +194,14 @@ namespace NzbDrone.Core.Download.Clients.QBittorrent } 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; }