mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-08 00:22:31 -06:00
WebUI: Add new Add Torrent experience
This PR uses the new APIs from #21015 to provide a WebUI Add Torrent experience more closely matching the GUI's. New functionality: - View torrent size, date, infohash, files, etc. - Reprioritize and ignore files before adding - Specify tags when adding torrent - Specify save path for incomplete torrent Closes #20557, closes #10997, closes #12499, closes #14201, closes #15071, closes #15718, closes #16207. PR #21645.
This commit is contained in:
committed by
GitHub
parent
02d72179fe
commit
02892d1250
@@ -294,10 +294,10 @@
|
||||
menu: "rssArticleMenu",
|
||||
actions: {
|
||||
Download: (el) => {
|
||||
let dlString = "";
|
||||
for (const rowID of rssArticleTable.selectedRows)
|
||||
dlString += `${rssArticleTable.getRow(rowID).full_data.torrentURL}\n`;
|
||||
showDownloadPage([dlString]);
|
||||
for (const rowID of rssArticleTable.selectedRows) {
|
||||
const { name, torrentURL } = rssArticleTable.getRow(rowID).full_data;
|
||||
window.qBittorrent.Client.createAddTorrentWindow(name, torrentURL);
|
||||
}
|
||||
},
|
||||
OpenNews: (el) => {
|
||||
for (const rowID of rssArticleTable.selectedRows)
|
||||
|
||||
Reference in New Issue
Block a user