diff --git a/calibre-plugin/plugin-defaults.ini b/calibre-plugin/plugin-defaults.ini index ade454c..3420e77 100644 --- a/calibre-plugin/plugin-defaults.ini +++ b/calibre-plugin/plugin-defaults.ini @@ -392,12 +392,17 @@ forumtags_label:Tags from Forum add_to_include_metadata_pre: # only keep tagsfromtitle with ( or [ in. tagsfromtitle=~[\[\(] - + +## disable chapter range in title because of tagsfromtitle processing. +title_chapter_range_pattern: + add_to_replace_metadata: +# for QuestionableQuesting NSFW subforum. + tagsfromtitle=>^\[NSFW\].*?([\(\[]([^\]\)]+)[\)\]]).*?$=>NSFW,\2 # remove anything outside () or [] - tagsfromtitle=>^.*?([\(\[]([^\]\)]+)[\)\]]).*?$=>\1 + tagsfromtitle=>^.*?([\(\[]([^\]\)]+)[\)\]]).*?$=>\2 # remove () [] - tagsfromtitle=>[\(\)\[\]]=> +# tagsfromtitle=>[\(\)\[\]]=> # change (spaces)slash(or semicolon)(spaces) to comma tagsfromtitle=> *[/;] *=>, tagsfromtitle=> [xX] =>, diff --git a/fanficfare/defaults.ini b/fanficfare/defaults.ini index e1bb28e..a520cd7 100644 --- a/fanficfare/defaults.ini +++ b/fanficfare/defaults.ini @@ -391,12 +391,17 @@ forumtags_label:Tags from Forum add_to_include_metadata_pre: # only keep tagsfromtitle with ( or [ in. tagsfromtitle=~[\[\(] - + +## disable chapter range in title because of tagsfromtitle processing. +title_chapter_range_pattern: + add_to_replace_metadata: +# for QuestionableQuesting NSFW subforum. + tagsfromtitle=>^\[NSFW\].*?([\(\[]([^\]\)]+)[\)\]]).*?$=>NSFW,\2 # remove anything outside () or [] - tagsfromtitle=>^.*?([\(\[]([^\]\)]+)[\)\]]).*?$=>\1 + tagsfromtitle=>^.*?([\(\[]([^\]\)]+)[\)\]]).*?$=>\2 # remove () [] - tagsfromtitle=>[\(\)\[\]]=> +# tagsfromtitle=>[\(\)\[\]]=> # change (spaces)slash(or semicolon)(spaces) to comma tagsfromtitle=> *[/;] *=>, tagsfromtitle=> [xX] =>,