summaryrefslogtreecommitdiff
path: root/recdone.c
diff options
context:
space:
mode:
authorJohann Friedrichs <johann.friedrichs@web.de>2021-04-12 15:21:53 +0200
committerJohann Friedrichs <johann.friedrichs@web.de>2021-04-12 15:21:53 +0200
commit2844b5dce57c48d49693406b12f857f36f358d37 (patch)
treeb2ad5fd6eec2df2b909087cc8e78249eaac553cc /recdone.c
parentc34e463a806e198ba70c911be502f93da8c66896 (diff)
downloadvdr-plugin-epgsearch-2844b5dce57c48d49693406b12f857f36f358d37.tar.gz
vdr-plugin-epgsearch-2844b5dce57c48d49693406b12f857f36f358d37.tar.bz2
Clarified "avoid repeats".
Forced subtitle-comparison is named "yes" again. New option "allow empty"
Diffstat (limited to 'recdone.c')
-rw-r--r--recdone.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/recdone.c b/recdone.c
index d200df3..53780cd 100644
--- a/recdone.c
+++ b/recdone.c
@@ -341,7 +341,8 @@ int cRecsDone::GetCountRecordings(const cEvent* event, bool compareTitle, int co
}
if ((!compareTitle || rTitle == eTitle) &&
- (!compareSubtitle || (rSubtitle == eSubtitle && rSubtitle != "")) &&
+ (!compareSubtitle || (rSubtitle == eSubtitle &&
+ (compareSubtitle==2 || rSubtitle != ""))) &&
(!compareSummary || DescriptionMatches(eRawDescr.c_str(), rRawDescr.c_str(), matchLimit)) &&
(catvaluesAvoidRepeat == 0 || CatValuesMatch(catvaluesAvoidRepeat, rDescr, eDescr)) &&
(compareExpression.size() == 0 || MatchesInExpression(compareExpression, recDone, event))) {