mirror of
https://github.com/lidarr/Lidarr
synced 2025-03-13 15:28:45 +00:00
Fixed: Handle qBittorrent "moving" & "forcedDL" state
This commit is contained in:
parent
c8da56749c
commit
63d669178d
1 changed files with 7 additions and 0 deletions
|
@ -194,8 +194,15 @@ namespace NzbDrone.Core.Download.Clients.QBittorrent
|
|||
}
|
||||
break;
|
||||
|
||||
case "forcedDL": //torrent is being downloaded, and was forced started
|
||||
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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue