mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-12-27 08:19:30 +08:00
Merge pull request #8424 from glassez/fix-rss
Disable Auto TMM when RSS rule has save path. Closes #8411
This commit is contained in:
commit
078982ada6
@ -386,6 +386,8 @@ void AutoDownloader::processJob(const QSharedPointer<ProcessingJob> &job)
|
|||||||
params.savePath = rule.savePath();
|
params.savePath = rule.savePath();
|
||||||
params.category = rule.assignedCategory();
|
params.category = rule.assignedCategory();
|
||||||
params.addPaused = rule.addPaused();
|
params.addPaused = rule.addPaused();
|
||||||
|
if (!rule.savePath().isEmpty())
|
||||||
|
params.useAutoTMM = TriStateBool::False;
|
||||||
auto torrentURL = job->articleData.value(Article::KeyTorrentURL).toString();
|
auto torrentURL = job->articleData.value(Article::KeyTorrentURL).toString();
|
||||||
BitTorrent::Session::instance()->addTorrent(torrentURL, params);
|
BitTorrent::Session::instance()->addTorrent(torrentURL, params);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user