Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 07-27-2023, 02:09 PM   #8746
Tharos
Connoisseur
Tharos began at the beginning.
 
Posts: 68
Karma: 10
Join Date: Jul 2010
Device: Pocketbook InkPad Color 3, Kindle Oasis 2, Moon+ Reader pro
I need a little help with a metadata change. I have "Anime ABC | Part 1" and "Anime ABC Part 2" as fandoms.

Can I use replace_metadata to capture all fandoms that contain "Anime ABC" and change them to "Anime XYZ"?
Tharos is offline   Reply With Quote
Old 07-27-2023, 02:35 PM   #8747
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,998
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by Tharos View Post
I need a little help with a metadata change. I have "Anime ABC | Part 1" and "Anime ABC Part 2" as fandoms.

Can I use replace_metadata to capture all fandoms that contain "Anime ABC" and change them to "Anime XYZ"?
Yes. I use this for Elder Scrolls:

Code:
 category=>^.*Elder Scroll.*$=>The Elder Scrolls
ownedbycats is online now   Reply With Quote
Advert
Old 07-27-2023, 03:04 PM   #8748
Tharos
Connoisseur
Tharos began at the beginning.
 
Posts: 68
Karma: 10
Join Date: Jul 2010
Device: Pocketbook InkPad Color 3, Kindle Oasis 2, Moon+ Reader pro
Quote:
Originally Posted by ownedbycats View Post
Code:
 category=>^.*Elder Scroll.*$=>The Elder Scrolls
Thank you.

Another question. In AO3, the characters often have the fandom attached to their names. Example: Perenelle Flamel (Harry Potter).
Is it possible to automatically delete the (Harry Potter) in the names?
So far I have solved this via replace_metadata and changed each name individually.

Last edited by Tharos; 07-27-2023 at 03:28 PM.
Tharos is offline   Reply With Quote
Old 07-27-2023, 03:43 PM   #8749
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,998
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by Tharos View Post
Thank you.

Another question. In AO3, the characters often have the fandom attached to their names. Example: Perenelle Flamel (Harry Potter).
Is it possible to automatically delete the (Harry Potter) in the names?
So far I have solved this via replace_metadata and changed each name individually.
I use this, adding fandoms as needed. Note the formatting carefully, it's pretty easy to break it.

Code:
 characters=>\s*(\(Disney\)|\(Elder Scrolls\)|\(Fallout\)|\(How to Train Your Dragon\)|\(Mass Effect\)|\(Redwall\)|\(Skyrim\)|\(Watership Down\))$=>
ownedbycats is online now   Reply With Quote
Old 07-27-2023, 04:23 PM   #8750
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,980
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ownedbycats View Post
Code:
 characters=>\s*(\(Disney\)|\(Elder Scrolls\)|\(Fallout\)|\(How to Train Your Dragon\)|\(Mass Effect\)|\(Redwall\)|\(Skyrim\)|\(Watership Down\))$=>
Code:
 characters=>\s*\((Disney|Elder Scrolls|Fallout|How to Train Your Dragon|Mass Effect|Redwall|Skyrim|Watership Down)\)$=>
You can simplify a little bit by moving the escaped '\(' and '\)' outside instead of copying them every time. Makes it slightly less brittle, IMO.
JimmXinu is online now   Reply With Quote
Advert
Old 07-27-2023, 10:28 PM   #8751
chicleeblair
Connoisseur
chicleeblair began at the beginning.
 
Posts: 97
Karma: 10
Join Date: Sep 2018
Device: iPad mini
I figured out how to have characters in “&“ ships included while still not tagging them if they’re in “/“ ships and keeping “&” ships in my relationships column, and I’ll post the code tomorrow, but I had to share that I just realized where all of these weird “OOriginal Character(s)” Tags are coming from.

It’s fine. I’m deleting OOC tags, anyway. Once you’re writing fic, IMO the character is your character, and just because they’re different doesn’t mean they’re not in character, but…yeah, I should go in and fix some bracket placement. (It’s seeing OOC and applying the instructions for OC. Which, considering that I have a fair amount of “||” going on in that tag, it’s good to know it works.)
chicleeblair is offline   Reply With Quote
Old 07-28-2023, 02:17 PM   #8752
julo
Connoisseur
julo began at the beginning.
 
Posts: 72
Karma: 12
Join Date: Apr 2010
Location: Pittsburgh area
Device: prs-505,900,T2
slow_down_sleep_time

slow_down_sleep_time:x
Is there information somewhere what x means (millisecond, second, minute, other) and when it is triggered (between: each story (for multi-story downloads), each chapter, other)?
julo is offline   Reply With Quote
Old 07-28-2023, 03:21 PM   #8753
Tharos
Connoisseur
Tharos began at the beginning.
 
Posts: 68
Karma: 10
Join Date: Jul 2010
Device: Pocketbook InkPad Color 3, Kindle Oasis 2, Moon+ Reader pro
defaults.ini

## number of seconds to sleep between calls to the story site. May be
## useful if pulling large numbers of stories or if the site is slow.
## The actual sleep time used on each request is a random number
## between 0.5 and 1.5 times slow_down_sleep_time.
#slow_down_sleep_time:0.5

Last edited by Tharos; 07-28-2023 at 03:23 PM.
Tharos is offline   Reply With Quote
Old 07-28-2023, 05:12 PM   #8754
julo
Connoisseur
julo began at the beginning.
 
Posts: 72
Karma: 12
Join Date: Apr 2010
Location: Pittsburgh area
Device: prs-505,900,T2
@Tharos
Thanks
julo is offline   Reply With Quote
Old 07-28-2023, 06:11 PM   #8755
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,998
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by JimmXinu View Post
Code:
 characters=>\s*\((Disney|Elder Scrolls|Fallout|How to Train Your Dragon|Mass Effect|Redwall|Skyrim|Watership Down)\)$=>
You can simplify a little bit by moving the escaped '\(' and '\)' outside instead of copying them every time. Makes it slightly less brittle, IMO.
Thanks. For some reason that never occured to me
ownedbycats is online now   Reply With Quote
Old 07-29-2023, 10:53 AM   #8756
JDesat
Connoisseur
JDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beauty
 
Posts: 99
Karma: 32768
Join Date: Dec 2012
Device: Kobo Glo HD, Kobo Clara HD
I know FFN has been a bitch for a while with cloudflare stuff, so I'm not really expecting a fix, but I want to know if I'm the only one this is happening with...
I've had no real problems downloading FFN stories (since I started loading the new chapter(s) and first chapter of the story manually), but just yesterday FFF has started failing on every single FFN chapter I try to download. I'm getting this "HTTP Error in FFF 'Page not found or expired in Browser Cache" for every story even though I haven't changed how I've been doing things.
Is this just me, or something new FFN is doing?
JDesat is offline   Reply With Quote
Old 07-29-2023, 11:15 AM   #8757
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,998
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
See:
https://github.com/JimmXinu/FanFicFa...g-errors--help
ownedbycats is online now   Reply With Quote
Old 07-29-2023, 11:26 AM   #8758
JDesat
Connoisseur
JDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beautyJDesat does all things with Zen-like beauty
 
Posts: 99
Karma: 32768
Join Date: Dec 2012
Device: Kobo Glo HD, Kobo Clara HD
Thanks for pointing me in that direction, but I think I figured it out and it was something on my end. I changed some settings with NordVPN and some part of the "Web Protection" was doing something that blocked things. At least that is my assumption since it worked once I turned that off.
JDesat is offline   Reply With Quote
Old 07-29-2023, 11:28 AM   #8759
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,998
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Ah yeah, VPNs tend to break things. I think Jim was something along the lines of "you're on your own if you use a VPN."
ownedbycats is online now   Reply With Quote
Old 07-29-2023, 12:41 PM   #8760
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,980
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Yep.

FYI, I'm going to have limited time online for a couple weeks. Next release will be delayed.
JimmXinu is online now   Reply With Quote
Reply

Tags
fanfiction


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 03:54 PM.


MobileRead.com is a privately owned, operated and funded community.