1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 15:27:54 +00:00

Disable Auto TMM when RSS rule has save path

Closes #8411.
This commit is contained in:
Vladimir Golovnev (Glassez) 2018-02-16 14:02:01 +03:00
parent 98a1c111b9
commit 176b2eb18b
No known key found for this signature in database
GPG Key ID: 52A2C7DEE2DFA6F7

View File

@ -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);