![]() |
#10756 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,881
Karma: 4604435
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Adding labels to all values for a metadata entry (ie, genre) is straightforward, but would affect everywhere it appears.
Doing it for only for one specific column, but not everywhere, is more complex. I know there are users who do similar things for Calibre's nesting tags. Perhaps one of them can help before we re-invent this particular wheel? |
![]() |
![]() |
![]() |
#10757 |
Member
![]() Posts: 20
Karma: 10
Join Date: Feb 2025
Device: Kindle Paperwhite 2024
|
I tried doing a column from other columns column but the catalog didn’t like using that one, which sucks cuz I had one perfect
So hopefully the others have a suggestion |
![]() |
![]() |
![]() |
#10758 | |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 125
Karma: 295674
Join Date: Jul 2021
Device: iPhone
|
Quote:
Code:
add_to_extra_valid_entries:,prefix_category,prefix_rating,prefix_ships,prefix_status include_in_prefix_category:category include_in_prefix_rating:rating include_in_prefix_ships:ships include_in_prefix_status:status keep_in_order_prefix_category:true keep_in_order_prefix_ships:true replace_metadata: prefix_ships=>^(.*)=>[p] \1 prefix_category=>^(.*)=>[c] \1 prefix_rating=>^(.*)=>[r] \1 prefix_status=>^(.*)=>[s] \1 include_subject_tags:prefix_ships_LIST,prefix_category_LIST,prefix_rating,prefix_status |
|
![]() |
![]() |
![]() |
#10759 | |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 20
Karma: 2070024
Join Date: Feb 2017
Location: UK
Device: None
|
Quote:
Code:
InterpolationMissingOptionError: Bad value substitution: option 'titlepage_entry' in section 'epub' contains an interpolation key 'newline' which is not a valid option name. Raw value: '<b>${label}:</b> ${value}<br />\n%(newline)s' |
|
![]() |
![]() |
![]() |
#10760 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,881
Karma: 4604435
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
Code:
# make sure to keep a single space on the line after this--it's # one, empty newline for inclusion below. Define in same section as entry. newline: # You can't see it, but there's a space on the line above. |
|
![]() |
![]() |
![]() |
#10761 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,881
Karma: 4604435
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
As culytera said, you'll need custom_columns_settings to put them in a column, but it sounded like you already had that part. However, custom_columns_settings only allows for one metadata entry per line, so you'll need to either merge the different prefix_X into another new entry first or use multiple custom_columns_settings lines with 'a' flags. It looks like culytera uses the keep_in_order_X settings and X_LIST to retain author's ordering for those entries. That may or may not work with custom column , depending on your custom column type and how you merge the different entries. |
|
![]() |
![]() |
![]() |
#10762 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,787
Karma: 74203799
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Question: Is there a way to include_metadata on a certain fandom if it's the only one on the story?
For example, a lot of Star Trek: Original Series are also double/triple-tagged Star Trek: Strange New Worlds and/or Alternate Original Series. (Here's a bunch of examples with all three.) I can just exclude them, but for futureproofing I'd prefer to filter if it's single-category (actual crossovers can be dealt with in story-sections). Last edited by ownedbycats; 05-16-2025 at 04:10 PM. |
![]() |
![]() |
![]() |
#10763 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,881
Karma: 4604435
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
I don't understand the question. If story has category tags:
Star Trek: Alternate Original Series (Movies) Star Trek: The Original Series Star Trek: Strange New Worlds (TV) What is it you want that story to have? |
![]() |
![]() |
![]() |
#10764 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,787
Karma: 74203799
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
The Original Series. I only want AOS or SNW if they're the single category.
|
![]() |
![]() |
![]() |
#10765 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,881
Karma: 4604435
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
![]() ![]() |
![]() |
![]() |
![]() |
#10766 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,881
Karma: 4604435
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Experimental Version Attached
2025-05-17 - Single proc bg processing, optionally split by site & accumulate results -- experimental 2025-05-18 - Improve job 'reconsolidate' for failed jobs and setting changing. Background Job Processing in Past When first implementing this downloader as a plugin in 2011, I copied the background processing code from Extract ISBN. That code, after launching as a Calibre background job, spawns another level of sub-processes, one per book, running as many processes in parallel at once as Calibre's config allow--generally as many as there are CPUs/cores. Back in 2021, we finally realized that was allowing stories from the same site to run simultaneously, causing some sites to block users for excessive traffic. I changed FFF to instead run one background process per site, IE, only running one download from each site at a time, but still allowing parallel downloads from different sites. Something that had been occasionally reported was that download jobs would not end when their parent Calibre job was stopped, or even when Calibre was closed. (At least on Windows.) I confess I didn't really pay them much attention until use of open_pages_in_browser made it more obvious something was going on. Background Job Processing in This Version The attached version has three additional optional settings For this first experimental version the settings are on the 'Other' tab of FFF Config with some explanatory verbiage. I'm not entirely decided on which of these should be hard coded, optional settings, grouped as one setting, or what the defaults values should be. Opinions welcome. The options are:
Disadvantages of new version
Related Questions
UPDATE: 2025-05-18 - Improve job 'reconsolidate' for failed jobs and setting changing. Last edited by JimmXinu; 05-19-2025 at 04:42 PM. Reason: Remove experimental version, test version posted |
![]() |
![]() |
![]() |
#10767 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,787
Karma: 74203799
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Sounds good. But I'm curious why users are closing Calibre in the middle of a download? This seems to be when the job is running, so it's not the nonresponsive cancel button on the initial popup.
|
![]() |
![]() |
![]() |
#10768 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,881
Karma: 4604435
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Well, when I've done it, it's been because of accidentally leaving open_pages_in_browser, check_next_chapter, and more recently, try_shortened_title_urls all on when downloading an ffnet story that doesn't have a hidden next chapter.
|
![]() |
![]() |
![]() |
#10769 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,881
Karma: 4604435
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Experimental Version Updated
2025-05-18 - Improve job 'reconsolidate' for failed jobs and setting changing. I've updated the Experimental Version previously posted so job reconsolidation works if a job fails entirely, or if the user turns that option off after launching a split job. If no problems come up, I will probably promote this version to 'Testing' tomorrow. I'm still unsure which of the current three options should be kept optional, what their default state should be, or where they should be in FFF's Config. If anyone has opinions, I'd be interested to hear them. |
![]() |
![]() |
![]() |
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 |