|
|
#8281 |
|
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,438
Karma: 81367635
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Very specific corner-case request. Only bother if it's particularly easy to do or useful for other cases:
The ability to pass column links from the table back into FanFicFare when 'Pass Calibre columns' is enabled. Perhaps called calibre_std_columnname_link. Use-case: I have selected gift/exchange collections (for which URLs are not collected by FFF) included in Series. If links are present in the db, I think using include_metadata (for filtering) and include_in_links I may be able to have them appear on the titlepage. Last edited by ownedbycats; 04-03-2023 at 05:50 PM. |
|
|
|
|
|
#8282 |
|
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,438
Karma: 81367635
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Alternative method:
Should this work? It doesn't, but I'm not sure if there's an error in my implementation or whether this applies as there's no initial seriesUrl: personal.ini, includes other relevant entries: Code:
[archiveofourown.org]
add_to_replace_metadata:
## Add seriesUrl to collection series
seriesUrl=>^.*=>https://archiveofourown.org/collections/SpecReqs2023&&series==Spectre Requisitions 2023
include_metadata_pre:
## Include specific collections for series
collections=~(Spectre Requisitions \d{4}|Spec Recs|Spec Recs \d{4})
## Copy collections to series
include_in_series:series,collections
EDIT: To make things even more confusing, there is an effect: It removes the series from the titlepage! (And commenting the line out restores it.) This makes me inclined to think that it is replacing but glitching out. Last edited by ownedbycats; 04-03-2023 at 06:21 PM. |
|
|
|
| Advert | |
|
|
|
|
#8283 | |
|
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,212
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
New Test Version Posted
2023-04-03 - Add static include_in_* when double quoted. Eg: Code:
[http://test1.com?sid=5] include_in_seriesUrl:"http://test1.com/NEW" That should solve several of ownedbycats' latest endeavors. Quote:
See static feature above. |
|
|
|
|
|
|
#8284 |
|
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,438
Karma: 81367635
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Question: What order should include_in, replace_metadata, and include_metadata_pre run?
I created a custom entry and set it a placeholder to be transformed and included in seriesUrl. The replacement isn't working as expected. Would be easier than making a dozen story sections... EDIT: Here's the code Code:
[defaults] # Custom metadata entries add_to_extra_valid_entries:,collectionUrl [archiveofourown.org] ## I also tried replacing 'seriesUrl' collectionUrl=>abc=>https://archiveofourown.org/collections/SpecReqs2023&&collection==Spectre Requisitions 2023 ## Generates placeholder collectionUrl include_in_collectionUrl:"abc" ## Copy collectionURL to series include_in_seriesUrl:collectionUrl include_metadata_pre: ## To include placeholder only when there's a collection collectionUrl==abc&&collections==Spectre Requisitions 2023 ![]() EDIT: Another issue though: the placeholder will apply for all books, ignoring the include_metadata. Last edited by ownedbycats; 04-03-2023 at 08:08 PM. |
|
|
|
|
|
#8285 |
|
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,212
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
add_to_extra_valid_entries
include_in_X (in/ex)clude_metadata_pre replace_metadata (in/ex)clude_metadata_post |
|
|
|
| Advert | |
|
|
|
|
#8286 |
|
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,438
Karma: 81367635
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
I found my mistake with the second one: I forgot to include seriesUrl in seriesUrl
![]() I got various problems sorted out and posted my 'complete' version here: https://www.mobileread.com/forums/sh...4&postcount=15 Additional question: When using a replaced value as a conditional in the same replace_metadata block, should I always put it below? As an example: Code:
add_to_replace_metadata: collections=>Mass Effect - N7 Exchange 22=>N7 Exchange 2022 collectionUrl=>abc=>https://archiveofourown.org/collections/MassEffectN7Exchange2022&&collections==N7 Exchange 2022 I also added a small ToC to the MetadataManagement page but I won't be upset if you want to remove it. Last edited by ownedbycats; 04-04-2023 at 12:49 AM. |
|
|
|
|
|
#8287 |
|
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,438
Karma: 81367635
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
For one story (PM'd link as it's adult) I'm having trouble getting rid of the "Mass Effect Big Bang" series without also deleting the "Mass Effect Big Bang 2012" collectiion.
I put the settings in a new library with a fresh personal.ini to check other settings weren't messing with it Code:
[defaults] is_adult:true ## Copy collections to series include_in_series:series,collections include_metadata_pre: collections==Mass Effect Big Bang 2012 Any attempt at exact-matching fails to match (don't know why) and concats the two Code:
exclude_metadata_pre: series==Mass Effect Big Bang series=~Mass Effect Big Bang$ Code:
exclude_metadata_pre: series=~Mass Effect Big Bang series=~Mass Effect Big Bang&&seriesUrl==https://archiveofourown.org/series/xxxx Last edited by ownedbycats; 04-04-2023 at 03:56 AM. |
|
|
|
|
|
#8288 |
|
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,438
Karma: 81367635
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
An entirely different question:
I noticed I still have an extended (5 seconds instead of 2) slow_down_sleep_time for ffnet even though I use cache & open_pages. Is there any reason to keep it? |
|
|
|
|
|
#8289 |
|
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,212
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
AIR, if you are using open_pages_in_browser, slow_down_sleep_time is applied between attempts to open a page in the browser.
|
|
|
|
|
|
#8290 |
|
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,438
Karma: 81367635
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Code:
[archiveofourown.org]
include_in_series:series,collections
include_metadata_pre:
## Include specific collections as series
collections=~(N7 Exchange|N7 Exchange \d{4})
exclude_metadata_pre:
series=~\“Everyone wants a spiky girlfriend!\” \(f!Vetryder One Shots\) \[\d\]$
seriesUrl==https://archiveofourown.org/series/28830
add_to_replace_metadata:
collections=>Mass Effect - N7 Exchange 22=>N7 Exchange 2022
Since it only affects Calibre metadata it's easy to fix but is this a user error or a bug? Last edited by ownedbycats; 04-04-2023 at 06:04 PM. |
|
|
|
|
|
#8291 |
|
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,212
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
While FFF will allow you to have a series metadata entry without a number, Calibre will not.
To the best of my knowledge, all entries in Calibre's standard Series column or Series type custom columns must have a number. It can be zero, fractional, or even negative, but it will be here. Calibre will automatically use the next open integer if there isn't one in the value given. |
|
|
|
|
|
#8292 |
|
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,438
Karma: 81367635
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Yes. I was expecting it to be set to [1] as that's what I get on the constructed collection-series. Intead, it copied the number from the excluded series.
I thought perhaps the column overwrite wasn't working as expected but clearing it and re-updating resulted in the [5] again. Last edited by ownedbycats; 04-04-2023 at 06:48 PM. |
|
|
|
|
|
#8293 |
|
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,212
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Calibre remembers the number even when you change the name. It does use two different edit boxes for series name and series number, so I'm not really surprised.
My expectation is that you will only get [5] if 1-4 already exist in that series. But I've exhausted my ability to care. I was going to ask if you have calibre_series_meta:true, but that feature outright breaks with these settings and will be fixed in the next test version. So congratulations, you have yet again found a new corner of the envelope to push that no one else has. |
|
|
|
|
|
#8294 |
|
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,438
Karma: 81367635
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Is it similar to the same issue that was causing problems in Manage Series a few years ago?
Since it only affects the Calibre metadata, easy to fix during metadata postprocessing in Action Chains. Last edited by ownedbycats; 04-04-2023 at 08:58 PM. |
|
|
|
|
|
#8295 |
|
Connoisseur
![]() Posts: 77
Karma: 76
Join Date: Apr 2019
Device: none
|
|
|
|
|
![]() |
| Tags |
| fanfiction |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [GUI Plugin] KindleUnpack - The Plugin | DiapDealer | Plugins | 527 | 08-15-2025 02:36 PM |
| [GUI Plugin] Open With | kiwidude | Plugins | 404 | 02-21-2025 06:42 AM |
| [GUI Plugin] Marvin XD | Philantrop | Plugins | 126 | 01-29-2017 01:48 PM |
| [GUI Plugin] KiNotes | -axel- | Plugins | 0 | 07-14-2013 07:39 PM |
| [GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 01:27 PM |