fix: show full download path (content_path) for qBittorrent
All checks were successful
Build and Push Docker Image / build (push) Successful in 20s

- Prefer content_path over save_path for qBittorrent torrents
- content_path is the full path to the single file or top-level
  folder for multi-file torrents
- save_path is just the base download directory
This commit is contained in:
2026-05-15 21:29:16 +01:00
parent d31f108821
commit 9b0e778392

View File

@@ -198,7 +198,7 @@ function mapTorrentToDownload(torrent) {
hash: torrent.hash,
category: torrent.category,
tags: torrent.tags,
savePath: torrent.save_path || torrent.content_path || null,
savePath: torrent.content_path || torrent.save_path || null,
qbittorrent: true
};
}