View Single Post
Old 09-02-2022, 06:18 PM   #7496
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,041
Karma: 4604637
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by AbyssalAriel View Post
Okay, I think I understand now why it's apparently not having an effect; would checking that option mean that if the story itself on the site updates its cover, FFF would update the cover accordingly in the epub? Is that all it's for?
No. Forget the Update EPUB Cover option ever existed. I'm going to remove it. Should have a year ago. New behavior will always be as if it was checked. Probably with a pop up dialog warning users who had it off by default.

Quote:
Originally Posted by AbyssalAriel View Post
But is it supposed to change the value from "first" to "old" whenever "Update EPUB Always" is run?
No. cover_image will contain 'specific' if the site adapter called setCoverImage() indicating there was a specific author selected cover images (AO3 for example, never has 'specific'); 'first' if setting make_firstimage_cover:true and there is at least one image; 'default' if a default_cover_image setting was applied; and finally 'old' if updating an existing epub that has a cover image and none of the previous applied. Even if you have inserted some other cover image. Because FFF's cover_image metadata entry is about what FFF found.

Quote:
Originally Posted by AbyssalAriel View Post
1. Download a story initially, with a cover either taken from the site (if there is one), or from the first image (if there is one), or be given a generated cover template, based off the site (or ideally, even more specific metadata, like the fandom/category). This seems more or less possible already (though I only have per-site ones set up, not per-category).

2. When updating the epub story or metadata, to never change the cover gotten from the download, unless I do so deliberately/purposely (it shouldn't happen just as a side-effect of running the updater, as it does now for the generated covers).
I thought we had a 'New Only' checkbox for covers, too. I vaguely recall that there is a way to do it, but if I can't remember it, it was probably too complicated.

I'll look into adding a 'New Only' checkbox for covers similar to Standard Columns. Should be straightforward.

Quote:
Originally Posted by AbyssalAriel View Post
3. To be able to deliberately/purposely update the cover for either one or many stories at once (if many, it would be some kind of template), and have this change injected into the epub, and this updated cover will, again, not be changed until I deliberately change it.
You can use Generate Cover manually (or other tool) and then Calibre's Polish or Modify Epub to inject it into the epub if you want it there. Or switch the 'New Only' cover checkbox once it's added on and off.

I'm not anymore interested in adding a special mode to FFF specifically for updating covers than I am for title page.

FYI, regarding:
Quote:
Originally Posted by JimmXinu View Post
Calibre automatically injects the cover on Convert. I was sure it also did so on Send to device and Save to file, but now that I test those, I'm not seeing that behavior...
I dug out a 2/3 dead Nook and coaxed it back to life long enough to see that sending an epub with a Cover in Calibre, but not in the epub did end up with the cover image on Nook. So I believe Calibre does send the cover when it knows how, just not in the epub.
JimmXinu is offline   Reply With Quote