mirror of https://github.com/lidarr/Lidarr
Fixed: Handle qBittorrent "moving" & "forcedDL" state
This commit is contained in:
parent
4f747f386f
commit
a602611a5f
|
@ -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…
Reference in New Issue