diff --git a/pkg/debrid/providers/torbox/torbox.go b/pkg/debrid/providers/torbox/torbox.go index 82c1054..b246371 100644 --- a/pkg/debrid/providers/torbox/torbox.go +++ b/pkg/debrid/providers/torbox/torbox.go @@ -171,10 +171,12 @@ func (tb *Torbox) SubmitMagnet(torrent *types.Torrent) (*types.Torrent, error) { } func (tb *Torbox) getTorboxStatus(status string, finished bool) string { - if finished { + // For cached/completed torrents, content is immediately available even if + // DownloadFinished=false (no download actually happened - it was already cached) + if finished || status == "cached" || status == "completed" { return "downloaded" } - downloading := []string{"completed", "cached", "paused", "downloading", "uploading", + downloading := []string{"paused", "downloading", "uploading", "checkingResumeData", "metaDL", "pausedUP", "queuedUP", "checkingUP", "forcedUP", "allocating", "downloading", "metaDL", "pausedDL", "queuedDL", "checkingDL", "forcedDL", "checkingResumeData", "moving"}