05-06-2023, 12:44 AM | #8401 |
Plugin Developer
Posts: 6,558
Karma: 4277329
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
applegaa PM'ed me the story link. It's on literotica. And I do see the same issue.
After collecting the chapters list, adapter_literotica explicitly sorts them by date. Git blame shows that line was added with some other changes as Updates to adapter_literotica from davidfor. At the same time, datePublished and dateUpdated, started being populated from the chapter list instead of a separate dates list, but the code for the dates list was not removed, just overridden. That suggests the change was incomplete or perhaps just hurried. So it's possible it's just a mistake. MR discussion at the time doesn't say anything either way. But it also wouldn't surprise me if it was included to address authors accidentally putting their chapters out of order. Does anyone have any examples of that? I'm inclined to just remove the chapter sort, but I could make it an optional feature instead. |
05-06-2023, 10:37 PM | #8402 |
Plugin Developer
Posts: 6,558
Karma: 4277329
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
New Test Version Posted
2023-05-06 - Add order_chapters_by_date option for literotica.com, used to be hard coded. Code:
[literotica.com] ... ## Force chapters in a story to be sorted by date instead of the order ## given by the author. Used to be the default for literotica. ## Note that FFF normalizes literotica.com story URLs to the first ## chapter URL. If the first chapter is not the same by date and by ## list, you may need to set order_chapters_by_date under *both* ## [storyURL] sections. order_chapters_by_date:false |
Advert | |
|
05-07-2023, 01:03 PM | #8403 |
Custom User Title
Posts: 9,332
Karma: 63265021
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Wondering: what is the reasoning for is_adult not enabled by default?
|
05-08-2023, 01:00 AM | #8404 | |
Connoisseur
Posts: 60
Karma: 10
Join Date: Apr 2019
Device: none
|
Quote:
- Andrew |
|
05-08-2023, 02:05 AM | #8405 | ||
Fanfiction Devourer
Posts: 47
Karma: 539564
Join Date: Nov 2012
Device: Android: Moon+ Reader Pro
|
Quote:
So that's why I was surprised when I was updating this book and I got a log result of 'adding -27 chapters for 33 total'. Negative chapters? Whaaaa? I double checked and 1) I'm not even running the test version (I'm on version 4.23.0) 2) it's not in my ini to be enabled. So that confused me. Checked the source and it seems the author condensed his split up chapters into single chapters so no actual story went missing. I'm just confused why instead of getting an error message as usual (Existing epub has 61 chapters, current source has 34) I got the above. Here's the nondebug log if it matters. (Or maybe it is debug? Says it often enough ) Spoiler:
The earlier epub is available if required thru dropbox previous versions archiving for a period of time if needed. Quote:
It's one thing if a kid uses this software and can't make naughty epubs of his fanfics w/o changing a setting, it's another if it does it out of the box and the parents/authorities come looking for someone to blame instead of poor horny Timmy. That's my guess at least. Last edited by Mandabar; 05-08-2023 at 02:25 AM. |
||
Advert | |
|
05-08-2023, 06:14 AM | #8406 |
Custom User Title
Posts: 9,332
Karma: 63265021
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
@Mandabar: Is your Calibre library in dropbox? You shouldn't do that. So so many threads about libraries being messed up from that.
|
05-08-2023, 06:26 AM | #8407 |
Fanfiction Devourer
Posts: 47
Karma: 539564
Join Date: Nov 2012
Device: Android: Moon+ Reader Pro
|
Never had an issue with my library in the Dropbox, actually has saved me a few times! The only 'issue' I've ever seen is when updating metadata in a batch like fanficfare does (DB tries to upload file before fff goes to do another metadata change and locks the file from Calibre use) and the solution to that is easy. Just pause syncing before hitting yes.
|
05-08-2023, 10:11 AM | #8408 | |
Plugin Developer
Posts: 6,558
Karma: 4277329
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
|
|
05-08-2023, 06:45 PM | #8409 | |
Fanfiction Devourer
Posts: 47
Karma: 539564
Join Date: Nov 2012
Device: Android: Moon+ Reader Pro
|
Quote:
And this is the older version. I'll keep the links up a day or two. Last edited by Mandabar; 05-08-2023 at 06:47 PM. |
|
05-08-2023, 08:51 PM | #8410 |
Plugin Developer
Posts: 6,558
Karma: 4277329
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Thanks, I'm done with them.
What you bumped into is a difference in the logic when metadata collection is run in foreground vs background. You can see in log when it's BG metadata; the temp epub file is bgmeta-xxxxxx.epub instead of title-author-xxxxxxx.epub. I basically never use background metadata, so I tend to forget about it. I have a fix, but I'm looking at something else I want to consider more for the next test version. |
05-08-2023, 09:27 PM | #8411 | ||
Fanfiction Devourer
Posts: 47
Karma: 539564
Join Date: Nov 2012
Device: Android: Moon+ Reader Pro
|
Quote:
Quote:
|
||
05-08-2023, 10:59 PM | #8412 |
Plugin Developer
Posts: 6,558
Karma: 4277329
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
New Test Version Posted
2023-05-08 - Fix Update Always metadata in BG logic - fix_relative_text_links: Keep #anchor links if target also in chapter. See #952 |
05-09-2023, 01:32 PM | #8413 |
Custom User Title
Posts: 9,332
Karma: 63265021
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Question: I have orphan_account set to replace to 'Unknown.' However, this results in the orphan_account URL getting set for Unknown in the Calibre db.
Using exclude_metadata_pre on authorUrl just creates a 'None' link that crashed ebook-viewer when clicked. (Probably no need to bother fixing it, unless there's other reasons exclude author URL during update.) Unknown doesn't appear in book details, so the only place I see it is in the author manager, so I'm inclined to just leave it. But is there another method I didn't think of? Last edited by ownedbycats; 05-09-2023 at 01:54 PM. Reason: forgot a word |
05-09-2023, 09:14 PM | #8414 |
Plugin Developer
Posts: 6,558
Karma: 4277329
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Yeaaaah...
I'm going to file this one under "Don't remove authorUrl, weird things happen". The same bucket also contains authorId, storyId, storyUrl, site and probably a few others I can't think of off hand. |
05-10-2023, 05:29 AM | #8415 |
Junior Member
Posts: 1
Karma: 10
Join Date: May 2023
Device: math
|
When adding to the library for the first time, I only perform the first scrape in the foreground; otherwise, I always perform it in the background to avoid blocking Calibre's use while it collects the necessary metadata. Oddly, I don't recall ever experiencing a problem of this nature before. Everything should be ok as long as it doesn't happen when one of my RR authors decides to go stub their fic more. In addition, the author's decision to combine so many of their chapters together was a bit strange.
|
Tags |
fanfiction |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] KindleUnpack - The Plugin | DiapDealer | Plugins | 494 | 05-18-2024 02:34 AM |
[GUI Plugin] Open With | kiwidude | Plugins | 403 | 04-01-2024 08:39 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 |