fix: show full download path (content_path) for qBittorrent

- 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 137d40affe
commit d09b0ab40a

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
};
}