Skip to content

Treat Debrid-Link status 8 (seeding) as finished - #1055

Closed
hymat wants to merge 1 commit into
rogerfar:mainfrom
hymat:fix/debridlink-seeding-status
Closed

hymat wants to merge 1 commit into
rogerfar:mainfrom
hymat:fix/debridlink-seeding-status

Conversation

@hymat

@hymat hymat commented Oct 22, 2026

Copy link
Copy Markdown

Fixes #1045

Problem

Debrid-Link reports torrents that are fully downloaded and seeding with status = 8. The status switch in DebridLinkTorrentClient only maps 1–6 and 100, so status 8 falls through to _ => TorrentStatus.Error and the torrent shows as "Debrid error: 8" in the UI instead of being downloaded.

Fix

Map "8" to TorrentStatus.Finished, the same as the other completed states (5, 6, 100). One-line change.

Testing

  • dotnet build and dotnet test pass (306 tests).
  • Running a locally built image with this change: torrents that were stuck in "Debrid error: 8" download and import into Sonarr normally after a retry.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XNwr988oUbJ6TZb5hfo5hK

Debrid-Link reports completed torrents that are seeding with status 8.
The status switch only mapped 1-6 and 100, so these torrents fell through
to TorrentStatus.Error and showed as "Debrid error: 8".

Fixes rogerfar#1045

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01XNwr988oUbJ6TZb5hfo5hK
@hymat

hymat commented Oct 22, 2026

Copy link
Copy Markdown
Author

Closing as a duplicate of #1052, which makes the same change and was opened first. For what it's worth, I've been running this exact fix in a locally built image with Debrid-Link: torrents stuck in "Debrid error: 8" now download and import normally. 👍 on #1052.

@hymat hymat closed this Oct 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Debrid-Link torrents in "seeding" (status 8) incorrectly shown as "Debrid error: 8"

1 participant