![]() |
#5281 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 106
Karma: 4486
Join Date: Mar 2020
Location: Netherlands
Device: i-pad
|
Thanks for letting me know, I'll keep that in mind next time.
|
![]() |
![]() |
![]() |
#5282 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
@ackomb - It's hard to make out what parts of your post are quoted code and not, and to see the whitespace; which does make a difference in regexp..
Please use [code] tags around code blocks, such as your INI lines and italic or underline to show which parts of your prose are specific strings. Example: Code:
replace_metadata: characters=>^Brian \(The 100\)$=>Bryan (the 100)&&category==the 100 characters=>^Brian \(The 100\)$=>Bryan (the 100 )&&category==the 100 |
![]() |
![]() |
Advert | |
|
![]() |
#5283 | |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 106
Karma: 4486
Join Date: Mar 2020
Location: Netherlands
Device: i-pad
|
Quote:
Sorry, I had some issues last night and I forgot to include my .ini Spoiler:
As for the lines I'd higlighted in my post, this is just a variation I tried to see it was actually replacing anything or not, the answer is yes. |
|
![]() |
![]() |
![]() |
#5284 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
![]() And I had to go find the story URL in the big block'O metadata. But I was able to test it. I don't think there's anything wrong with your FFF settings. I see Bryan (the 100). What I think you may be seeing is a Calibre effect: Calibre tries to help with tag (upper/lower)case; if that column already contains Bryan (The 100), it will not be changed when FFF tries to set it to Bryan (the 100). Because, ignoring case, they are the same value. But if you first clear the column (or even just that value from the column), it should be good. |
|
![]() |
![]() |
![]() |
#5285 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,993
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
A somewhat similar problem can also occur with trailing spaces. Calibre removes them for the column, but FFF sees them as different categories.
|
![]() |
![]() |
Advert | |
|
![]() |
#5286 | |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 106
Karma: 4486
Join Date: Mar 2020
Location: Netherlands
Device: i-pad
|
Quote:
I’ve tried your suggestions, starting with just removing the character from the column, then emptying the whole column, then removing the entire story and adding it again from scratch . None of those worked, however the last hail Mary was to delete the entire character from all stories and it worked. Is there any way to turn off this setting in which Calibre is trying to be helpful but actually isn’t (in my opnion)? I know it has nothing to do with FFF but if anyone knows... And once again thank you. |
|
![]() |
![]() |
![]() |
#5287 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,993
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
As far as I'm aware, no. Calibre columns are case-insensitive.
|
![]() |
![]() |
![]() |
#5288 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
![]() I believe you might also be able to change the 'canonical' spelling Calibre uses in Calibre's tag browser? I, too, am not aware of anyway to change Calibre behavior about this. |
|
![]() |
![]() |
![]() |
#5289 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,993
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
|
![]() |
![]() |
![]() |
#5290 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
New Test Version Posted
2021-01-28 - Get cloudscraper 1.2.56 changes, but keep py2 compat. If you're not getting cloudscraper errors, don't bother with this update. |
![]() |
![]() |
![]() |
#5291 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,993
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
New bug, unsure if it's a change in FFF or ffnet's email notifications: Dragging and dropping an FFNet email in from Thunderbird results in the path to the .eml being dropped instead. I'll PM you the email file as it contains my email address.
Last edited by ownedbycats; 01-28-2021 at 12:16 PM. |
![]() |
![]() |
![]() |
#5292 |
Connoisseur
![]() Posts: 66
Karma: 10
Join Date: Jul 2010
Device: Pocketbook InkPad Color 3, Kindle Oasis 2, Moon+ Reader pro
|
![]()
I need some help (ok, a lot of help) with the metadata. Maybe someone has time to look into my problems.
What is it about. I am trying to change the metadata of several pages via [defaults]. And then later to modify it page specific. Q1: Although I exclude "Cunning; resourceful and ambitious" via several lines, it continues to be listed in the tags. What am I doing wrong? Q2: I want to always delete all tags that contain "Cunning". What is the correct entry here? I am trying 4 different ways. None of them works. Why? Q3: In [defaults] I would like to delete "Arthur Weasley". The entry here does not work. Why? Q4: What is the difference between "^(Manipulative(.*)?)$" and "^Manipulative$"? I want to delete or change all tags that start with this word. I can't figure out from the examples here in the forum what the right way is. Many questions, I know. But maybe someone has some time to look over it. I am grateful for any help. Code:
[defaults] is_adult:true view_adult=true keep_summary_html:false include_images:true make_firstimage_cover:true never_make_cover:false include_subject_tags:sitetags,genre,category,eroticatags,characters,extratags,fandoms,tags add_to_custom_columns_settings: fandoms=>#ts extratags: exclude_metadata_pre: sitetags,genre,category,characters,eroticatags,extratags,fandoms,tags==^(Cunning(.*)?)$ sitetags,genre,category,characters,eroticatags,extratags,fandoms,tags==^(Manipulative(.*)?)$ sitetags,genre,category,characters,eroticatags,extratags,fandoms,tags==^Cunning$ sitetags,genre,category,characters,eroticatags,extratags,fandoms,tags==^Manipulative$ sitetags,genre,category,characters,eroticatags,extratags,fandoms,tags==Allgemein sitetags,genre,category,characters,eroticatags,extratags,fandoms,tags==Cunning; resourceful and ambitious sitetags,genre,category,characters,eroticatags,extratags,fandoms,tags==Arthur Weasley sitetags,genre,category,characters,eroticatags,extratags,fandoms,tags==Justin Finch-Fletchley exclude_metadata_post: add_to_replace_metadata: # Status anpassen status=>In-Progress=>unvollständig status=>In-progress=>unvollständig # Webseitenadresse anpassen site=>www.hpfanficarchive.com=>hpfanficarchive.com # Metadaten für Allgemeines ändern sitetags,genre,category,characters,eroticatags,extratags,fandoms,tags=>^(Naruto(.*)?)$=>Naruto Uzumaki\,Naruto sitetags,genre,category,characters,eroticatags,extratags,fandoms,tags=>^Harem$=>Harem/Multiple Partners sitetags,genre,category,characters,eroticatags,extratags,fandoms,tags=>^Multiple$=>Harem/Multiple Partners sitetags,genre,category,characters,eroticatags,extratags,fandoms,tags=>^Naruto$=>Naruto Uzumaki\,Naruto sitetags,genre,category,characters,eroticatags,extratags,fandoms,tags=>Spider-Man=>Spiderman sitetags,genre,category,characters,eroticatags,extratags,fandoms,tags=>The Legend of Zelda=>Legend of Zelda sitetags,genre,category,characters,eroticatags,extratags,fandoms,tags=>Harry James Potter=>Harry Potter sitetags,genre,category,characters,eroticatags,extratags,fandoms,tags=>Action\/Adventure=>Action\,Adventure sitetags,genre,category,characters,eroticatags,extratags,fandoms,tags=>Science Fiction=>Sci-Fi [epub] [hpfanficarchive.com] # Metadaten löschen exclude_metadata_pre: sitetags,genre,category,characters,eroticatags,extratags,fandoms,tags==After Hogwarts sitetags,genre,category,characters,eroticatags,extratags,fandoms,tags==AT - Alternative Timeline sitetags,genre,category,characters,eroticatags,extratags,fandoms,tags==Bashing sitetags,genre,category,characters,eroticatags,extratags,fandoms,tags==Before Hogwarts - Dursley's years sitetags,genre,category,characters,eroticatags,extratags,fandoms,tags==Cunning; resourceful and ambitious sitetags,genre,category,characters,eroticatags,extratags,fandoms,tags==Cunning\; resourceful and ambitious sitetags,genre,category,characters,eroticatags,extratags,fandoms,tags==Dark sitetags,genre,category,characters,eroticatags,extratags,fandoms,tags==Dark Fic\/Character sitetags,genre,category,characters,eroticatags,extratags,fandoms,tags==During the Marauders sitetags,genre,category,characters,eroticatags,extratags,fandoms,tags==During years at Hogwarts sitetags,genre,category,characters,eroticatags,extratags,fandoms,tags==Hogwarts - Year 1 sitetags,genre,category,characters,eroticatags,extratags,fandoms,tags==Hogwarts Heir sitetags,genre,category,characters,eroticatags,extratags,fandoms,tags==Weasleys bashing # Metadaten ändern replace_metadata: sitetags,genre,category,characters,eroticatags,extratags,fandoms,tags=>Adventure\/Action=>Adventure\,Action sitetags,genre,category,characters,eroticatags,extratags,fandoms,tags=>Bellatrix Black-Lestrange=>Bellatrix Lestrange sitetags,genre,category,characters,eroticatags,extratags,fandoms,tags=>HP\/Stargate=>Harry Potter\,Stargate SG1 sitetags,genre,category,characters,eroticatags,extratags,fandoms,tags=>Narcissa Black-Malfoy=>Narcissa Malfoy |
![]() |
![]() |
![]() |
#5293 | ||
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
In this case, I can point out what I see that's wrong, but I'm not going to be able to test with stories to try.
Quote:
Very briefly: ^ means start of string and $ means end of string. So ^Manipulative$ matches the string "Manipulative" and nothing else. Parens: ( and ) are the grouping mechanism which is used to make more complex patterns and to pass part of the matched expression into the replacement using \1, \2 etc for each set of parens left to right. The dot . in regexp matches any character. Star * means "0 or more of the previous character or grouping". ? means "0 or 1 of the previous character or grouping". Effectively, ^(Manipulative(.*)?)$ matches any string that starts with "Manipulative". The parens in this case are unneeded. ^Manipulative.*$ is equivalent. And it renders ^Manipulative$ redundant. |
||
![]() |
![]() |
![]() |
#5294 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
Nothing about that code has changed recently in FFF and I'm not seeing it. |
|
![]() |
![]() |
![]() |
#5295 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,993
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
I just did a bit more testing. Other email notifications work (I had a few saved), just the one I sent you isn't. The only thing that seems different is that the glitchy one is the only one over 100 chapters (maybe some pattern-matching issue? But I figure you would've already accounted for something like that.)
If it happens again with another email I'll post again. |
![]() |
![]() |
![]() |
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 |