![]() |
#8866 |
Connoisseur
![]() Posts: 60
Karma: 10
Join Date: Oct 2018
Device: none
|
|
![]() |
![]() |
![]() |
#8867 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,840
Karma: 4604429
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
New Test Version Posted
2023-09-05 - Explicitly call set_image_allocation_limit() for larger image buffer and error on 0x0 image from image_and_format_from_data() See #977. Thanks dastrdly6585 for helping figure this out. |
![]() |
![]() |
Advert | |
|
![]() |
#8868 |
Member
![]() Posts: 12
Karma: 10
Join Date: Dec 2011
Device: Kindle Paperwhite, Kobo Libra H20
|
"Same" but different fic
Apologies if this multiposts... Having issues with Quick Reply.
Tried to download a fic and got the Change Story URL prompt for "is already in your library with a different source URL". The problem: https://archiveofourown.org/works/17257112 https://archiveofourown.org/works/45170194 These are actually 2 separate fic by the same author with titles that are just slightly different: "how the old grace goes" vs "care not how the old grace goes". It is not a terribly big deal for me in this case because I don't care about keeping the earlier one I had downloaded so I will just delete it and download the new one, but I am unable use the plugin to download/keep both fic in my Calibre library. |
![]() |
![]() |
![]() |
#8869 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,840
Karma: 4604429
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
FYI, your posts were waiting for mod approval. Hopefully you have enough posts now to not have that problem anymore.
"how the old grace goes" is a substring of "care not how the old grace goes", but that shouldn't be a problem. I'm not able to replicate the problem. I can have either of those two stories in library already and then download the other by URL with "Search by Title/Author(s)" on and they don't conflict. When you have the "Search by Title/Author(s) for If Story Already Exists?" option checked FFF looks for existing books with the same title and author by using Calibre's db.find_identical_books() method(FFF src). I don't know why you are seeing that. I can force it to happen if I use replace_metadata to force two different stories to have identical titles, but not just a substring. Or if I change the story name in library to match first. db.find_identical_books() does 'fuzzy' title search, but unless there are Calibre settings for it or language setting differences, I don't know why we would get different results. Calibre code suggests the 'fuzzy' part refers to punctuation and whitespace differences. If you run into it again, I would suggest one or more of:
|
![]() |
![]() |
![]() |
#8870 |
Member
![]() Posts: 12
Karma: 10
Join Date: Dec 2011
Device: Kindle Paperwhite, Kobo Libra H20
|
![]()
I did unfortunately realize that only after submitting a comment from the full reply page and it told me it was waiting for moderator review
![]() Anyway, thank you for the info! I tried deselecting 'Search by Title/Author(s) for If Story Already Exists?' and that did fix the issue I was having with those two particular fic. One other unrelated question - is there/could there be a way to call a separate Generate Cover Plugin Setting specifically when downloading Anthologies? Right now I just re-generate the cover after downloading them which is not the end of the world but it would definitely be convenient if that was a configuration I could enable. Thanks again! |
![]() |
![]() |
Advert | |
|
![]() |
#8871 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,840
Karma: 4604429
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
That section may help, but it assumes you already know the terminology defined at the beginning of the page. |
|
![]() |
![]() |
![]() |
#8872 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Sep 2023
Device: iPad Air 3
|
Hey, I noticed lately that whenever I try to get URLs from a Wattpad reading list it will stop at 32. This happens even when there are more than 32 URLs in the reading list that I do not have downloaded. Is there a setting I accidentally enabled? I thought I was about to get more than 32 URLs before.
|
![]() |
![]() |
![]() |
#8873 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,840
Karma: 4604429
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
It looks like wattpad only includes 32 list items in the initial HTML page now and fetches more stories using additional requests from javascript, which it gets back as JSON. FFF can't run javascript.
The easiest solution is to instead open FFF's 'Download from URLs' dialog (or 'Make Anthology Epub from URLs'), then go to the list page in your browser, select all text in the page, then copy/paste or drag/drop the text into the FFF dialog. FFF will parse the HTML from the clipboard as seen in the browser to get the story URLs. |
![]() |
![]() |
![]() |
#8874 |
Enthusiast
![]() Posts: 31
Karma: 18
Join Date: Jun 2017
Device: Kindle Fire
|
![]()
The scenario is that I have applied the content rating normalization suggested here. However, fictionmania.tv has a special site rating "XXX-I" to warn of stories with specific activities. I definitely want to capture that in the warnings, and have come up with the following arrangement.
If I run it without the add_to_replace_metadata, it works correctly, and applies the warning, but leaves the rating unchanged. If I include the add_to_replace_metadata line, it normalizes the rating, but doesn't apply the warning. I have a large personal.ini , so I removed everything but the code block below, and the behavior doesn't change, so I don't believe there should be anything conflicting with these. Code:
[fictionmania.tv] add_to_extra_valid_entries:warnings extrawarnings:CAUTION exclude_metadata_pre: warnings==CAUTION&&rating!=XXX-I add_to_replace_metadata: rating=>XXX-I=>NC-17 EDIT: I changed the line to the following (aka reversed the logic), and it works now, however I'm still unsure what I did wrong in my original example. Code:
include_metadata_pre: warnings==CAUTION&&rating==XXX-I ![]() Last edited by Wolgan; 09-09-2023 at 03:22 AM. |
![]() |
![]() |
![]() |
#8875 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,840
Karma: 4604429
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
The conditional part of a in/exclude_metadata_pre line (after &&) uses the same routines to get metadata values as everything else. Which means replace_metadata has already been applied to rating when the warnings _metadata_pre line is applied.
The wiki page mentions that for replace_metadata but not for in/exclude specifically: Quote:
FYI, warnings is a standard metadata entry, you don't need to use add_to_extra_valid_entries:warnings. And be aware that extrawarnings is not universal, there are only a handful of standard metadata entries that have extraX settings. Here's a solution that works for me: Code:
add_to_extra_valid_entries:rating_raw include_in_rating_raw:rating.NOREPL include_in_warnings:warnings,"CAUTION" exclude_metadata_pre: warnings==CAUTION&&rating_raw!=XXX-I add_to_replace_metadata: rating=>^XXX-I$=>NC-17 |
|
![]() |
![]() |
![]() |
#8876 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,666
Karma: 74166147
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Would it be technically possible and/or make sense to have conditionals accept a NOREPL directly? Example:
Code:
exclude_metadata_pre: warnings==CAUTION&&rating.NOREPL!=XXX-I |
![]() |
![]() |
![]() |
#8877 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,840
Karma: 4604429
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
I know I've considered it before. I don't remember off hand why I decided not to. The whole metadata processing system is pretty fragile. As is, .NOREPL is implemented cleanly in one place.
|
![]() |
![]() |
![]() |
#8878 | |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Sep 2023
Device: Pocketbook Lux 5
|
Pocketbook genre sorting pairing ao3
Hi, first of thanks for the awesome plugin I love it! But I have one problem I can't get to solve on my own.
I have a pocketbook on which I'd like to sort all my ebooks under the internal "genre" sorting showing only the pairings from fanfics downloaded from ao3. I searched on the forum for solutions but only got it to work semi ok, with now only the character tags and relationships tag but also still some other tags showing up (like fandoms, status of completion etc.). Is it possible for it to only show the pairings tag under "genre" on pocketbook? I have added my ini below, any help would be much appreciated! Quote:
|
|
![]() |
![]() |
![]() |
#8879 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,840
Karma: 4604429
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Tova,
A few things unrelated to your question:
Re: your question - I don't know anything about 'pocketbook'. Where does it get it's 'internal genre' from? |
![]() |
![]() |
![]() |
#8880 | |
Enthusiast
![]() Posts: 31
Karma: 18
Join Date: Jun 2017
Device: Kindle Fire
|
![]() Quote:
![]() |
|
![]() |
![]() |
![]() |
Tags |
fanfiction |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] KindleUnpack - The Plugin | DiapDealer | Plugins | 514 | 03-23-2025 10:26 AM |
[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 |