![]() |
#5386 | ||
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
https://github.com/JimmXinu/FanFicFa...story.py#L1044 (There appears to be a typo in the comment that refers to genre instead of category.) It occurs after replace/include/exclude, just like it says. When I say 'replace/include/exclude' I mean replace_metadata and all in/exclude_metadata_pre/post variants. To the best of my understanding (without testing specific cases) it is part of category when called in conditionals and Crossover (or whatever) will appear. A exclude_metadata_post can't use category as both the entry to operate on and the conditional key. I suspect something like: Code:
replace_metadata: category_LIST=>^Crossover, (Half-Life, Portal)$=>\1 I do not believe setting certain category values as "not-crossovers" is as simple as you think it is. You would have to define each set of category values anyway--doing it in regular expression is basically the same thing. Quote:
And answering this has just taken ~25 minutes out of looking at your email dragging problem. So, trade-offs. ![]() |
||
![]() |
![]() |
![]() |
#5387 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,994
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Thank you.
I couldnt remember the reason for saying no on the not-crossover (yeah I agree, clumsy phrasing) thing, either time constraints or a more technical thing. Also, I guess someone could write a regex to detect a regex, but that's a bit silly. I'll experiment a bit with the category_LIST replaces. Knowing it's sorted makes it easier to match as an exact string instead of messing with lookarounds. Last edited by ownedbycats; 02-05-2021 at 07:20 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#5388 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,994
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
also, may I have permission to add a link to https://regex101.com to the ReplaceMetadata wiki page? I found it useful in testing why regexes aren't matching correctly and thought other users may find it helpful.
![]() |
![]() |
![]() |
![]() |
#5389 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
|
|
![]() |
![]() |
![]() |
#5390 | |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,994
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Here's what I added. Feel free to change any wording that's unclear:
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#5391 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,994
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Also, several months ago I mentioned that "update metadata from column" somehow managing to modify the timestamp of bunch of my ePubs.
It happened again, but this time I figured out what happened: content.opf inside the ePub updated with a bunch of my custom columns. Last edited by ownedbycats; 02-06-2021 at 01:49 AM. |
![]() |
![]() |
![]() |
#5392 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
The content.opf file inside the library book's directory gets updated, but the epub shouldn't.
Were you looking inside the epub with Calibre's Edit book? Because that has an option for 'Update the metadata embedded in the ebook when opening' that you may have turned on. Searching around, I've found one option in FFF that does update the epub on 'update meta from column': Under Cover, if you have the 'Inject/Update the cover inside EPUB' option turned on, it will do exactly that, which does update the epub. |
![]() |
![]() |
![]() |
#5393 |
Connoisseur
![]() Posts: 60
Karma: 10
Join Date: Jun 2017
Device: Moon+ Reader Pro on Android
|
With the changes of how downloading works in the latest testversion (I can now see job messages live as chapters are being downloaded), it should now be possible to make the progress bar in the jobs window work based on chapters instead of of books, right?
|
![]() |
![]() |
![]() |
#5394 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
However, other things on the list would also impact that. Namely, going back to multiple BG processes, but one per site so downloads for different sites could be in parallel or doing the same but with threading. |
|
![]() |
![]() |
![]() |
#5395 | |
Connoisseur
![]() Posts: 60
Karma: 10
Join Date: Jun 2017
Device: Moon+ Reader Pro on Android
|
Quote:
That way they can run in parallel (limited and controlled by calibre) without any further work on your part. |
|
![]() |
![]() |
![]() |
#5396 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
I did consider that, but they you would get as many 'Update your library?' dialogs as there were sites.
And a user can do that right now manually if they want. |
![]() |
![]() |
![]() |
#5397 | |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,994
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Quote:
I don't have "Update Cover" checked in the update settings. Would it still inject? Last edited by ownedbycats; 02-06-2021 at 01:52 PM. |
|
![]() |
![]() |
![]() |
#5398 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
Yes, it appears that option overrides the 'Update EPUB Cover' option that appears in the Update List/Story URLs dialogs. 'Update EPUB Cover' is one of the oldest options in FFF and is implemented as basically injecting never_make_cover:true under [overrides] in the ini config during the BG job, and doesn't directly effect else. So it doesn't surprise me that newer options under Calibre Cover tab take precedence. Whether it should is more debatable. But I feel confident in predicting that if the cover wasn't updated in the epub with the inject option checked, somebody would be unhappy about that, too. |
|
![]() |
![]() |
![]() |
#5399 |
Connoisseur
![]() Posts: 67
Karma: 10
Join Date: Jul 2010
Device: Pocketbook InkPad Color 3, Kindle Oasis 2, Moon+ Reader pro
|
![]() |
![]() |
![]() |
![]() |
#5400 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,994
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
If PMs are enabled for you, you can send them to Jim that way.
|
![]() |
![]() |
![]() |
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 |