Quote:
Originally Posted by Tharos
A question for the collective intelligence here. Should the following two entries work?
|
In short, no. I think you've misunderstood how these work.
'&&' in a
replace_metadata is not an added effect. It's what I call a conditional--the preceding part of the line will only be applied if the conditional also matches.
Code:
replace_metadata:
fandoms,category=>^.*Harry Potter.*$=>Harry Potter&&series=>Harry Potter
This says: Change the entirety of any value of
fandoms or
category containing "Harry Potter" to only "Harry Potter", but only if the
series entry contains "Harry Potter". See
wiki page.
Code:
include_metadata_pre:
#ts==Fantasy
The
in/exclude_metadata_pre/post family of settings operate
only on FFF metadata and only to remove specific matched values with exclude, or, oppositely, to discard all values that
don't match with include. See
wiki page
#ts is, presumably, a Calibre column. Populating custom columns is done with
custom_columns_settings. See
defaults.ini.
(FYI, use [code], not [quote] around INI examples.)