Update defaults.ini for use_old_cover and force_cover_image

This commit is contained in:
Jim Miller 2022-09-06 13:58:25 -05:00
parent 543c741502
commit 92d3c7c8f0
2 changed files with 52 additions and 17 deletions

View file

@ -311,13 +311,14 @@ conditionals_use_lists:true
## specific -- The site has an image that is specifically this story's cover
## first -- The first image in the story or story desc is used as cover
## default -- A default_cover_image was used
## force -- A force_cover_image was used
## old -- There was already a cover image in the epub.
## This is useful because GC plugin can use the existing image.
#generate_cover_settings:
# ${category} => Buffy:? [tT]he Vampire Slayer => BuffyCover
# ${category} => Star Trek => StarTrekCover
# ${cover_image} => ^$ => CompleteCover
# ${cover_image} => (specific|first|default) => CoverWithOrigImage
# ${cover_image} => (specific|first|default|force) => CoverWithOrigImage
## (Plugin Only) - You can also populate calibre custom columns with
## the site specific metadata using custom_columns_settings (but only
@ -1152,16 +1153,21 @@ make_firstimage_cover: true
## If set, the epub will never have a cover downloaded, even if
## include_images is on and the site has specific cover images.
## However, any existing cover will be kept during EPUB update. So if
## don't like a story's cover and want to set your own, setting
## never_make_cover:true for that story URL will preserve your custom
## cover.
## However, any existing cover will be kept during EPUB update, and
## default_cover_image used if set.
## From FanFicFare v4.16, it is preferred to use use_old_cover or
## force_cover_image in most cases instead of never_make_cover
#never_make_cover: false
## If set, an image (regardless of source) will only be used as a
## cover image if it is >= both the dimensions listed here. When not
## set, any size image will be used. Note that some sites, like ffnet
## use relatively small images(180,240). Default 10,10 to avoid
## If set, on EPUB update, the existing EPUB cover will be used,
## taking precedence over specific, first image, and
## default_cover_image, but not force_cover_image
#use_old_cover:false
## If set, story specific and first image covers will only be used as
## a cover image if it is >= both the dimensions listed here. When
## not set, any size image will be used. Note that some sites, like
## ffnet use relatively small images(180,240). Default 10,10 to avoid
## spacer images.
cover_min_size: 10,10
@ -1179,6 +1185,18 @@ cover_min_size: 10,10
#default_cover_image:file:///C:/Users/username/Desktop/nook/images/${title}/icon.png
#default_cover_image:http://www.somesite.com/someimage.gif
## If set, force_cover_image will be made the cover, taking precedence
## over specific story cover, first image, default and
## pre-existing(aka old) EPUB cover image.
## It can be either a 'file:' or 'http:' url.
## force_cover_image is a python string Template string with
## ${title}, ${author} etc, same as titlepage_entries. Unless
## allow_unsafe_filename is true, invalid filename chars will be
## removed from metadata fields
#force_cover_image:file:///C:/Users/username/Desktop/nook/images/icon.png
#force_cover_image:file:///C:/Users/username/Desktop/nook/images/${title}/icon.png
#force_cover_image:http://www.somesite.com/someimage.gif
## some sites include images that we don't ever want becoming the
## cover image. This lets you exclude them.
#cover_exclusion_regexp:/stories/999/images/.*?_trophy.png

View file

@ -1169,16 +1169,21 @@ jpg_quality: 95
## If set, the epub will never have a cover downloaded, even if
## include_images is on and the site has specific cover images.
## However, any existing cover will be kept during EPUB update. So if
## don't like a story's cover and want to set your own, setting
## never_make_cover:true for that story URL will preserve your custom
## cover.
## However, any existing cover will be kept during EPUB update, and
## default_cover_image used if set.
## From FanFicFare v4.16, it is preferred to use use_old_cover or
## force_cover_image in most cases instead of never_make_cover
#never_make_cover: false
## If set, an image (regardless of source) will only be used as a
## cover image if it is >= both the dimensions listed here. When not
## set, any size image will be used. Note that some sites, like ffnet
## use relatively small images(180,240). Default 10,10 to avoid
## If set, on EPUB update, the existing EPUB cover will be used,
## taking precedence over specific, first image, and
## default_cover_image, but not force_cover_image
#use_old_cover:false
## If set, story specific and first image covers will only be used as
## a cover image if it is >= both the dimensions listed here. When
## not set, any size image will be used. Note that some sites, like
## ffnet use relatively small images(180,240). Default 10,10 to avoid
## spacer images.
cover_min_size: 10,10
@ -1196,6 +1201,18 @@ cover_min_size: 10,10
#default_cover_image:file:///C:/Users/username/Desktop/nook/images/${title}/icon.png
#default_cover_image:http://www.somesite.com/someimage.gif
## If set, force_cover_image will be made the cover, taking precedence
## over specific story cover, first image, default and
## pre-existing(aka old) EPUB cover image.
## It can be either a 'file:' or 'http:' url.
## force_cover_image is a python string Template string with
## ${title}, ${author} etc, same as titlepage_entries. Unless
## allow_unsafe_filename is true, invalid filename chars will be
## removed from metadata fields
#force_cover_image:file:///C:/Users/username/Desktop/nook/images/icon.png
#force_cover_image:file:///C:/Users/username/Desktop/nook/images/${title}/icon.png
#force_cover_image:http://www.somesite.com/someimage.gif
## some sites include images that we don't ever want becoming the
## cover image. This lets you exclude them.
#cover_exclusion_regexp:/stories/999/images/.*?_trophy.png