|
|
@ -890,23 +890,20 @@ public class QBittorrentAdapter implements IDaemonAdapter { |
|
|
|
return TorrentStatus.Error; |
|
|
|
return TorrentStatus.Error; |
|
|
|
case "downloading": |
|
|
|
case "downloading": |
|
|
|
case "metaDL": |
|
|
|
case "metaDL": |
|
|
|
|
|
|
|
case "stalledDL": |
|
|
|
return TorrentStatus.Downloading; |
|
|
|
return TorrentStatus.Downloading; |
|
|
|
case "uploading": |
|
|
|
case "uploading": |
|
|
|
|
|
|
|
case "stalledUP": |
|
|
|
return TorrentStatus.Seeding; |
|
|
|
return TorrentStatus.Seeding; |
|
|
|
case "pausedDL": |
|
|
|
case "pausedDL": |
|
|
|
return TorrentStatus.Paused; |
|
|
|
|
|
|
|
case "pausedUP": |
|
|
|
case "pausedUP": |
|
|
|
|
|
|
|
case "stoppedDL": |
|
|
|
|
|
|
|
case "stoppedUP": |
|
|
|
return TorrentStatus.Paused; |
|
|
|
return TorrentStatus.Paused; |
|
|
|
case "stalledUP": |
|
|
|
|
|
|
|
return TorrentStatus.Seeding; |
|
|
|
|
|
|
|
case "stalledDL": |
|
|
|
|
|
|
|
return TorrentStatus.Downloading; |
|
|
|
|
|
|
|
case "checkingUP": |
|
|
|
|
|
|
|
return TorrentStatus.Checking; |
|
|
|
|
|
|
|
case "checkingDL": |
|
|
|
case "checkingDL": |
|
|
|
|
|
|
|
case "checkingUP": |
|
|
|
return TorrentStatus.Checking; |
|
|
|
return TorrentStatus.Checking; |
|
|
|
case "queuedDL": |
|
|
|
case "queuedDL": |
|
|
|
return TorrentStatus.Queued; |
|
|
|
|
|
|
|
case "queuedUP": |
|
|
|
case "queuedUP": |
|
|
|
return TorrentStatus.Queued; |
|
|
|
return TorrentStatus.Queued; |
|
|
|
} |
|
|
|
} |
|
|
|