Quote:
Originally Posted by sios00
How do I set Fanficfare to auto set a column value for all downloads? My Calibre library has a custom column called "Type" with tag #type, which is a dropdown list of values "Fiction", "Fanfiction", and "Non-fiction". How do I get Fanficfare to set the #type column value of all downloads and updates as "Fanfiction"? Currently, I am doing it manually whenever I download a new story. Thanks for any assistance!
|
Turn on the check box towards the bottom of the Custom Columns settings Tab to allow custom_columns_settings, then set it in personal.ini:
Code:
[defaults]
# ...
custom_columns_settings:
"Fanfiction"=>#type
You may have to match the allowed value perfectly, IE Fanfiction vs FanFiction?
It's even one of the examples in (plugin) defaults.ini:
Code:
## (Plugin Only) - You can also populate calibre custom columns with
## the site specific metadata using custom_columns_settings (but only
## if 'Allow custom_columns_settings from personal.ini' is checked in
## the plugin GUI config.) There are three parts, the entry name,
## then the label of the calibre custom column, then (optionally) a
## 'mode'. 'r' to Replace any existing values, 'a' to Add to existing
## value (use with tag-like columns), and 'n' for setting on New books
## only. (Default is 'r'.)
## Literal strings can be set into custom columns using double quotes.
## Each metadata=>column mapping must be on a separate line and each
## needs to have one space at the start of each line.
## 'r_anthaver' and 'n_anthaver' can be used to indicate the same as
## 'r' and 'n' for normal downloads, but to average the metadata for
## the differents story in an anthology before setting in integer and
## float type custom columns. This can be useful for a averrating
## column, for example. Default is to sum the values of all stories,
## and numChapters and numWords are always summed.
#custom_columns_settings:
# cliches=>#acolumn
# themes=>#bcolumn,a
# timeline=>#ccolumn,n
# "FanFiction"=>#collection
# averrating=>#averrating,r_anthaver