mirror of
https://github.com/TheBeastLT/torrentio-scraper.git
synced 2026-04-20 10:02:04 +00:00
[addon] fixes party downloaded rd torrents selection
This commit is contained in:
parent
76da5c9a19
commit
8a88a9a71c
1 changed files with 1 additions and 1 deletions
|
|
@ -140,7 +140,7 @@ async function _unrestrictLink(RD, torrent, fileIndex) {
|
|||
const targetFile = torrent.files.find(file => file.id === fileIndex + 1)
|
||||
|| torrent.files.filter(file => file.selected).sort((a, b) => b.bytes - a.bytes)[0];
|
||||
if (!targetFile.selected) {
|
||||
await _selectTorrentFiles(RD, torrent, `${fileIndex + 1}`);
|
||||
await _retryCreateTorrent(RD, torrent.hash.toLowerCase(), undefined, fileIndex);
|
||||
return StaticResponse.DOWNLOADING;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue