![]() |
#7471 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
adapter_literotica doesn't get word count from the site. FFF will count words for you if you have turned on "Calculate Word Counts", then inject it into the metadata and re-write the output file. FFF caches calculated metadata values for performance reasons. When numWords is set, it clears the cached value for numWords, but not for numWordsCopy. So that's why numWordsCopy isn't working for literotica. I'm going to have to think about this a bit. The 'easy' answer is to clear the cache when setting numWords, but that inflicts a sometimes sizeable performance penalty on all users. Keeping track of all references in includes_in_ and conditional replace_metadata to clear cache for derived values would be a lot of new overhead code for an rather unusual corner case. The only other idea that comes to mind is make the cache clearing user configurable for the few users who would want it, but that's kind of ugly. |
|
![]() |
![]() |
![]() |
#7472 | |
Member
![]() Posts: 15
Karma: 10
Join Date: Aug 2022
Device: none
|
Quote:
----------- On another note, how do the cover generation options work, when used on existing books? I'm finding it confusing because the "Update EPUB Cover?" option in the FFF updater doesn't appear to do anything. Depending on my settings in the "Calibre Cover" menu, the cover either gets updated even while the option is unticked, or it doesn't update whether or not I tick it. And setting "Generate Calibre Cover: Yes, Always" will update and overwrite whatever cover was there before (which to be fair, makes sense), but FFF seems incapable of recovering the cover that "Yes, unless FanFicFare found a cover image" found even if I turn it back to "unless FFF found an image", unless I redownload the book (even though the same cover image is already inside). |
|
![]() |
![]() |
Advert | |
|
![]() |
#7473 |
Geek of All Trades
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 55
Karma: 100878
Join Date: Aug 2012
Location: Minneapolis
Device: Kindle Oasis (3rd gen)
|
Is it possible to just update the title page using Saved Metadata? I'm guessing not, after poking around. (Which is fine!)
In working on my guide, I was adding a section about how to customize the title page (by editing personal.ini) & thought I'd take a screenshot of what one looked like with default title_page settings. And then I realized it looked different than I would expect it to. And that was because I'd downloaded the work when I first started adjusting my library and working on the guide. So since then I've created all sorts of custom columns and moved things around. (Moving AO3 tags into their own column/field for instance, so those wouldn't show up in Genre as they did on the title page of the work I looked at.) In the guide I keep telling people they can just update from Saved Metadata. And that works, of course, for metadata. I loved Saved Metadata! And then I wondered if updating title pages from Saved Metadata was a thing. It doesn't appear to be a thing? And it's probably not necessary. But I thought I'd ask, in case I'm overlooking something. (Getting title pages to match up with how I'm organizing metadata in my library isn't all that important, certainly not worth redownloading works.) A person could put some data like that on actual covers using generate cover, I guess too. |
![]() |
![]() |
![]() |
#7474 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,988
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
|
![]() |
![]() |
![]() |
#7475 | |||
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
Cover generation is a bit of a mess due to the accretion of features over time. I don't use a fraction of it, nor do I keep all the details in my head. Here's a link to the last time I can find it was discussed in detail. If you have a specific case you can replicate it, please describe in detail the steps you take and the cover settings you are using, along with what you get and what you think you should be getting instead and I'll look at it. Quote:
I have come to believe the correct solution is: Quote:
|
|||
![]() |
![]() |
Advert | |
|
![]() |
#7476 | |
Geek of All Trades
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 55
Karma: 100878
Join Date: Aug 2012
Location: Minneapolis
Device: Kindle Oasis (3rd gen)
|
Quote:
Yeah, a more general Calibre plug-in for adding title pages would be nifty. Per other stuff being discussed, I've been using Modify ePub plug-in to replace covers for years and like it a lot for that purpose, when I've made new covers using Generate Cover or something and just want to stick a new cover into an existing ePub. |
|
![]() |
![]() |
![]() |
#7477 | |
Member
![]() Posts: 15
Karma: 10
Join Date: Aug 2022
Device: none
|
Quote:
2. Generate Cover settings: one cover profile, for AO3, set in the menu (not in personal.ini), associated to archiveofourown.org 3. Settings in Calibre Cover tab: Update EPUB cover from EPUB: Yes, if EPUB has a cover image Generate Calibre Cover: Yes, unless FanficFare found a cover image Generate covers only for new books: Disabled Inject/update the cover inside EPUB: Enabled Allow generate_cover_settings from personal.ini to override: True 4. Update the fic, with any setting. Update EPUB Always, or just updating from saved metadata. Update Calibre Metadata: Enabled Update EPUB Cover?: Disabled Background Metadata: Disabled Expected results: The cover stays the same, because "Update EPUB Cover?" is disabled. Actual results: It generates a new cover with the plugin and injects that into the ePub. ------------- 1. A fanfiction with a cover image taken from the "first" image in the site. Example: https://archiveofourown.org/works/31387700 2-3: Same settings as above, except for: Generate Calibre Cover: Yes, Always 4. Update the fic with any setting, and same options as above (including Update EPUB Cover?: Disabled) Expected and actual results are the same as above. Cover updates even though it seems like it shouldn't. 5. Change back to "Generate Calibre Cover: Yes, unless FanficFare found a cover image" 6. Update with the same settings again, except "Update EPUB Cover?: Enabled" Expected results: The cover changes back to the first image, since it's still there in the book. Actual results: The cover image is stuck as it is. The only way to get the original image back is to use "Overwrite Always". |
|
![]() |
![]() |
![]() |
#7478 |
Member
![]() Posts: 15
Karma: 10
Join Date: Aug 2022
Device: none
|
Oh, did a bit more testing:
1-3: Same as the first situation. 4. Update the fic with "Update EPUB Always" 5. Change the plugin cover template for AO3. 6. Try step 4 again, but with "Update EPUB Cover?: Enabled" Expected result: Updates the cover. Actual result: Doesn't update the cover. --- It seems like initially downloaded books that don't have a default or "first image" cover, don't have any "Cover_image" value shown in the saved metadata, and these ones can be changed perpetually even if I have "Update EPUB Cover?: Disabled" (which is undesirable). But they are set to "old" after running once with "Update EPUB Always", and end up stuck with that cover (even with "Update EPUB Cover?: Enabled") unless I use "Generate Calibre Cover: Yes, Always". Sometimes, updating the books that already had a cover (from "first image") seems to change their "cover_image" value to "old" as well, for some reason (it looks like that happens if I use Update EPUB Always). Last edited by AbyssalAriel; 09-02-2022 at 05:59 AM. |
![]() |
![]() |
![]() |
#7479 |
Member
![]() Posts: 15
Karma: 10
Join Date: Aug 2022
Device: none
|
So I was slightly wrong about the first situation; if using "Update EPUB Always", the cover doesn't change (regardless of the "Update EPUB Cover?" value), so you have to update from metadata to see it change even with "Update EPUB Cover?: Disabled".
I'd assume the same applies to "Update EPUB if New Chapters" in the case of there actually being new chapters, but I have to use "Always" because I can't really count on chapter updates while testing. Using "Overwrite Always" resets everything back to the original state, with no "cover_image" metadata for the fics that don't have a cover or first image, or a value of "first" instead of "old". |
![]() |
![]() |
![]() |
#7480 | |
Member
![]() Posts: 23
Karma: 10
Join Date: Jun 2012
Device: Samsung Note20 Ultra, Kindle Fire HD10
|
Is there still a way to use FanFicFare to get FF.net stories? Or is it a dead horse..
Although my question is primarily for JimmXinu, I'll take an answer from anyone who can help:
I've liked downloading FF.net stories for the longest time, but with the crap going it, it's getting much harder. Calibre never did a great job for me, so I used to use a stand-alone program called FanFiction_Downloader, but even that is failing. So I'm now turning back to Calibre/FanFicFare. Back on 8/13/2022, when you say you: Quote:
Thanks anyone for any guidance. I feel like the person who never had to try this before, and I'm stumped, but I'd like to find a way to download my stories. P.S. I've heard of FlareSolvErr, but aside from running it in the background, and not knowing if I have to give it any commands, it does nothing for me. Last edited by fdwojo; 09-02-2022 at 09:38 AM. |
|
![]() |
![]() |
![]() |
#7481 | ||
Geek of All Trades
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 55
Karma: 100878
Join Date: Aug 2012
Location: Minneapolis
Device: Kindle Oasis (3rd gen)
|
Backups
Looking for some clarification on backups. Hopefully this is an easy one to answer. Want to make sure i'm getting things right in that guide I'm working on.
The FanFicFare FAQ says this about backups: Quote:
Quote:
I do backup personal.ini textfiles regularly as a separate thing, especially before and after I make major changes to it. I actually have been doing Calibre exports of my library thinking that is the best way to make sure I have a truly complete backup that covers everything, but I was wondering if that's overkill. Though it's easier than manually copying both library folders and config folders. (I've just been making exports into dated folders every so often.) (So currently my guide is telling people that exports are the best way to get a complete backup. Is that accurate? Am I misleading folks?) Thanks! (Hopefully this hasn't been covered recently so I feel foolish again. I really do usually search all documentation and this forum before asking questions, but for this one I only got through documentation, not the forum as I'm getting burnt out from working on the Calibre/FanFicFare guide so much.) |
||
![]() |
![]() |
![]() |
#7482 | |
Geek of All Trades
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 55
Karma: 100878
Join Date: Aug 2012
Location: Minneapolis
Device: Kindle Oasis (3rd gen)
|
Quote:
https://github.com/JimmXinu/FanFicFa...erCacheFeature And I know there's a lot about it in plugin-defaults.ini. I haven't tried using it at all (so far) so have only just noticed these things in passing, can't advise on actual usage. |
|
![]() |
![]() |
![]() |
#7483 |
Member
![]() Posts: 23
Karma: 10
Join Date: Jun 2012
Device: Samsung Note20 Ultra, Kindle Fire HD10
|
Well thanks for the link. I'll check it out, and maybe I'll get lucky.
I really need to be able to download the stories. I know I'm in a minority here, but I do NOT believe in reading stories I like online only. I always prefer to be able to download them, and unlike what Jinn said, I'm not willing to look elsewhere because the authors I like AREN'T elsewhere. I'd hate to have to do it, but I might have to copy the stories, chapter by chapter and paste them into Sigil to make up the story EPUBs that I want. Time will tell. |
![]() |
![]() |
![]() |
#7484 |
Geek of All Trades
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 55
Karma: 100878
Join Date: Aug 2012
Location: Minneapolis
Device: Kindle Oasis (3rd gen)
|
I totally sympathize about frustration with FanFiction.net, when I was just getting back to using FanFicFare with Calibre, there were some stories I wanted that are only on FanFiction.net and I thought "well, I'll just go download those" only to realize it doesn't just work as it once did and will require a fair bit of messing around.
Probably a big part of why I just decided to focus on downloading from AO3 for now (and documenting how I do that). I threw up my hands at the FF.net mess, though I appreciate folks are working on it and appear to have come up with workarounds. (I just haven't delved into figuring out browser cache. Maybe it's easier than it looks to me at a glance.) And yeah, I by far prefer downloading things to read them. |
![]() |
![]() |
![]() |
#7485 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
![]() The FFF FAQ on this issue points to some more resources. If you don't already use Calibre, I honestly wouldn't recommend FFF with Calibre for ffnet anymore. WebToEpub is a browser add-on, and there are several downloaders that use a built-in headless browser that work better now. BoFiLo and FanFictionDownloader are the ones I've heard mentioned lately, but I haven't used any of them recently. |
![]() |
![]() |
![]() |
Tags |
fanfiction |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] KindleUnpack - The Plugin | DiapDealer | Plugins | 523 | 07-15-2025 06:45 PM |
[GUI Plugin] Open With | kiwidude | Plugins | 404 | 02-21-2025 05:42 AM |
[GUI Plugin] Marvin XD | Philantrop | Plugins | 126 | 01-29-2017 12:48 PM |
[GUI Plugin] KiNotes | -axel- | Plugins | 0 | 07-14-2013 06:39 PM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |