Treat forcedMetaDL from qBit as queued instead of downloading

(cherry picked from commit 9a613afa355fbc8cdf29c4d1b8eb1f1586405eb7)
This commit is contained in:
ManiMatter 2024-07-25 06:33:08 +02:00 committed by sharinganthief
parent 6255796d27
commit 1b63d3b89e

View file

@ -279,6 +279,7 @@ public override IEnumerable<DownloadClientItem> GetItems()
break;
case "metaDL": // torrent magnet is being downloaded
case "forcedMetaDL": // torrent metadata is being forcibly downloaded
if (config.DhtEnabled)
{
item.Status = DownloadItemStatus.Queued;
@ -293,7 +294,6 @@ public override IEnumerable<DownloadClientItem> GetItems()
break;
case "forcedDL": // torrent is being downloaded, and was forced started
case "forcedMetaDL": // torrent metadata is being forcibly downloaded
case "moving": // torrent is being moved from a folder
case "downloading": // torrent is being downloaded and data is being transferred
item.Status = DownloadItemStatus.Downloading;