Fixed: Handle qBittorrent "moving" state

This commit is contained in:
Jef LeCompte 2019-12-04 12:02:39 -05:00 committed by Qstick
parent 0aa8ac5d39
commit 86a53141ad
1 changed files with 6 additions and 0 deletions

View File

@ -196,8 +196,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;
}