1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-09-17 15:02:34 +02:00

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

View File

@ -196,8 +196,14 @@ public override IEnumerable<DownloadClientItem> 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;
}