View Single Post
Old 03-20-2024, 08:23 AM   #9387
w4tchdoge
Enthusiast
w4tchdoge began at the beginning.
 
w4tchdoge's Avatar
 
Posts: 30
Karma: 10
Join Date: Jul 2023
Device: Calibre
Question More site-specific Cover Generation settings?

I've started fiddling with cover generation settings since my current setup (image) means that the covers on stories hosted on XenForo forums get set as the Calibre cover when I'd rather use the Generate Covers plugin to make covers for them.

I tried changing the settings to this (image) and this got the results I wanted but also meant that the same would apply to works from Scribble Hub and Royal Road, and since
  1. I use Scribble Hub and Royal Road a lot more than I do XenForo sites
  2. The number of XenForo works with covers I want to GC in my library is much smaller than the number of SH/RR works with covers I want to keep.
having the Generate Calibre Covers setting set to Always isn't what I would consider a solution.

I reverted to my original settings (image) and tried adding the following to my ini.

Spoiler:
Code:
[forums.spacebattles.com]
generate_cover_settings:
 ${cover_image} => (specific|first|default|force|old) => SpaceBattles

[forums.sufficientvelocity.com]
generate_cover_settings:
 ${cover_image} => (specific|first|default|force|old) => SufficientVelocity

[forum.questionablequesting.com]
generate_cover_settings:
 ${cover_image} => (specific|first|default|force|old) => QuestionableQuesting

But that didn't trigger the GC plugin on XenForo works that did have covers. I'm assuming this is because the ini setting does not override the Generate Calibre Covers setting in the main FanFicFare Plugin settings.

Would it be possible to have the generate_cover_settings ini setting override the "Yes, unless FanFicFare found a cover image" Generate Calibre Covers setting? Or perhaps have a new ini setting where you can override the Generate Calibre Covers setting from the FanFicFare Plugin settings?

To clarify, my desired outcome is to be able to:
  • Always have the original cover from the website embedded in the EPUB.
  • Always have the original cover from the website be replaced by a GC generated Calibre Cover if the work is from a XenForo forum.
  • Always have the original cover from the website as the Calibre Cover if the work is not from a XenForo forum.

I would greatly appreciate any help (in case there is an ini setting for this and I've missed it) or answers on whether this feature might be implemented (I recognize that this is sort of a very roundabout way of asking for a feature that—to my knowledge at least—doesn't exist)
w4tchdoge is offline   Reply With Quote