mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-11 04:37:37 -06:00
Make the Smart filter to reject articles with an unrecognized episode number
PR #23340. Closes #23313.
This commit is contained in:
parent
d5c173be16
commit
9a68a03f53
@ -367,7 +367,7 @@ bool AutoDownloadRule::matchesSmartEpisodeFilter(const QString &articleTitle) co
|
|||||||
|
|
||||||
const QString episodeStr = computeEpisodeName(articleTitle);
|
const QString episodeStr = computeEpisodeName(articleTitle);
|
||||||
if (episodeStr.isEmpty())
|
if (episodeStr.isEmpty())
|
||||||
return true;
|
return false; // Don't accept articles with unrecognized episode number
|
||||||
|
|
||||||
// See if this episode has been downloaded before
|
// See if this episode has been downloaded before
|
||||||
const bool previouslyMatched = m_dataPtr->previouslyMatchedEpisodes.contains(episodeStr);
|
const bool previouslyMatched = m_dataPtr->previouslyMatchedEpisodes.contains(episodeStr);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user