Browse Source

Merge pull request #8424 from glassez/fix-rss

Disable Auto TMM when RSS rule has save path. Closes #8411
adaptive-webui-19844
Vladimir Golovnev 7 years ago committed by GitHub
parent
commit
078982ada6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/base/rss/rss_autodownloader.cpp

2
src/base/rss/rss_autodownloader.cpp

@ -386,6 +386,8 @@ void AutoDownloader::processJob(const QSharedPointer<ProcessingJob> &job) @@ -386,6 +386,8 @@ void AutoDownloader::processJob(const QSharedPointer<ProcessingJob> &job)
params.savePath = rule.savePath();
params.category = rule.assignedCategory();
params.addPaused = rule.addPaused();
if (!rule.savePath().isEmpty())
params.useAutoTMM = TriStateBool::False;
auto torrentURL = job->articleData.value(Article::KeyTorrentURL).toString();
BitTorrent::Session::instance()->addTorrent(torrentURL, params);

Loading…
Cancel
Save