rdt-client/server/RdtClient.Service/Services
Antonin Lenfant-Kodia c8313361a2 Fix and harden Synology Download Station support
The DownloadStation downloader left downloads stuck or silently failing.
This fixes the core flow and documents setup:

- Create the per-download destination folder via File Station (force_parent)
  before creating the task; DownloadStation does not create it for a
  direct-file task, which otherwise fails with "Destination does not exist".
- Auto-set the account's default destination when it has none (DSM leaves
  every task "Waiting" otherwise), preserving the other server settings.
- Detect completion across the terminal states (Finished/Downloaded/Seeding/
  PreSeeding or fully transferred), then verify the file is visible at the
  container path before signalling success, so a path-mapping mismatch is a
  clear error instead of a silent import failure.
- Surface DownloadStation errors (status_extra.error_detail, captcha) instead
  of polling progress forever.
- Harden task-list / get-info / delete handling against responses that fail
  to deserialize (upstream #723/#792) so one bad task can't abort a download.
- Make task creation idempotent: adopt an existing task instead of throwing
  "already added", which previously bricked every retry.

Adds unit tests, fixes a settings description typo, and documents Download
Station setup and the path-mapping requirement in the README.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 15:42:10 +02:00
..
DebridClients Merge pull request #986 from asylumexp/fix/torbox-database-error 2026-05-30 08:55:56 -06:00
Downloaders Fix and harden Synology Download Station support 2026-06-15 15:42:10 +02:00
Authentication.cs Usenet support 2026-02-13 13:15:57 -05:00
DownloadableFileFilter.cs Global formatting. 2026-02-11 19:44:49 -07:00
DownloadClient.cs Cleanup. 2026-02-23 20:04:53 -07:00
Downloads.cs handle rate limiting and database errors by delaying downloads 2026-05-26 20:16:07 +10:00
Enricher.cs Global formatting. 2026-02-11 19:44:49 -07:00
IDownloads.cs handle rate limiting and database errors by delaying downloads 2026-05-26 20:16:07 +10:00
ITrackerListGrabber.cs Global formatting. 2026-02-11 19:44:49 -07:00
QBittorrent.cs Fix torbox save path mapping for single file downloads. 2026-06-05 20:16:14 -06:00
RdtHub.cs Global formatting. 2026-02-11 19:44:49 -07:00
RemoteService.cs Mem and CPU perf fixes 2026-04-21 22:19:06 -04:00
Sabnzbd.cs fix(sabnzbd): Fix delete implementation to respect finished action 2026-05-31 17:12:13 -04:00
Settings.cs Fix torbox save path mapping for single file downloads. 2026-06-05 20:16:14 -06:00
TorrentRunner.cs Cleanup. 2026-05-27 22:04:30 -06:00
TorrentRunnerState.cs fix(tests): restore parallel execution 2026-05-18 21:30:31 +02:00
Torrents.cs Merge pull request #986 from asylumexp/fix/torbox-database-error 2026-05-30 08:55:56 -06:00
TrackerListGrabber.cs Global formatting. 2026-02-11 19:44:49 -07:00
UnpackClient.cs Cleanup. 2026-02-23 20:04:53 -07:00