fix: show full download path (content_path) for qBittorrent
Build and Push Docker Image / build (push) Successful in 20s
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:
@@ -198,7 +198,7 @@ function mapTorrentToDownload(torrent) {
|
|||||||
hash: torrent.hash,
|
hash: torrent.hash,
|
||||||
category: torrent.category,
|
category: torrent.category,
|
||||||
tags: torrent.tags,
|
tags: torrent.tags,
|
||||||
savePath: torrent.save_path || torrent.content_path || null,
|
savePath: torrent.content_path || torrent.save_path || null,
|
||||||
qbittorrent: true
|
qbittorrent: true
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user