diff --git a/server/RdtClient.Service/Services/Sabnzbd.cs b/server/RdtClient.Service/Services/Sabnzbd.cs index ca7df94..2498741 100644 --- a/server/RdtClient.Service/Services/Sabnzbd.cs +++ b/server/RdtClient.Service/Services/Sabnzbd.cs @@ -60,12 +60,13 @@ public class Sabnzbd(ILogger logger, Torrents torrents, AppSettings app Status = t.RdStatus switch { - TorrentStatus.Processing => "Propagating", - TorrentStatus.Finished => "Completed", - TorrentStatus.Downloading => "Downloading", - TorrentStatus.WaitingForFileSelection => "Propagating", - TorrentStatus.Error => "Failed", TorrentStatus.Queued => "Queued", + TorrentStatus.Processing => "Downloading", + TorrentStatus.WaitingForFileSelection => "Downloading", + TorrentStatus.Downloading => "Downloading", + TorrentStatus.Uploading => "Downloading", + TorrentStatus.Finished => "Completed", + TorrentStatus.Error => "Failed", _ => "Downloading" }, Category = t.Category ?? "*", diff --git a/server/RdtClient.Web/Controllers/TorrentsController.cs b/server/RdtClient.Web/Controllers/TorrentsController.cs index 2454102..37a815a 100644 --- a/server/RdtClient.Web/Controllers/TorrentsController.cs +++ b/server/RdtClient.Web/Controllers/TorrentsController.cs @@ -169,7 +169,7 @@ public class TorrentsController(ILogger logger, Torrents tor [Route("DiskSpaceStatus")] public ActionResult GetDiskSpaceStatus() { - var status = Service.BackgroundServices.DiskSpaceMonitor.GetCurrentStatus(); + var status = DiskSpaceMonitor.GetCurrentStatus(); return Ok(status); }