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 03-14-2021, 06:51 AM   #5656
ackomb
Zealot
ackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura about
 
Posts: 106
Karma: 4486
Join Date: Mar 2020
Location: Netherlands
Device: i-pad
Quote:
Originally Posted by ownedbycats View Post
Yes, but the first one doesn't work at all. The second one does, but leaves the space.
As you can see in my previous post, the 1st is working fine for me. So it must be something else.
ackomb is offline   Reply With Quote
Old 03-14-2021, 07:25 AM   #5657
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,988
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
edit: del
ownedbycats is online now   Reply With Quote
Advert
Old 03-14-2021, 11:06 AM   #5658
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,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Multi-reply
Quote:
Originally Posted by ownedbycats View Post
Any idea why this replace_metadata would fail to remove " (Fandom)"? Regex101 indicates that the pattern matches.
Code:
## Character standardization and dedepublication
## Removing some fandoms first
 characters=>\s(\(Elder Scrolls\)|\(Fallout\)|\(Mass Effect\)|\(Skyrim\))$=>
Try:
Code:
 characters=>\s*(\(Elder Scrolls\)|\(Fallout\)|\(Mass Effect\)|\(Skyrim\))$=>
Note the added parans about to group the fandoms.

Your pattern was "\s(Elder Scrolls)" or "(Fallout)" or ... Also, I added a '*' to the space for the inevitable cases without space or with more than one space.

Quote:
Originally Posted by ackomb View Post
1) Not sure if anyone asked before but couldn't find it searching this thread.
I was wondering of it is possible for FFF to have a built in feedback to the site to follow/subscribe to a story or author.
Going through every story/author I like to follow by hand is taking me forever. But learning from this thread I also don't want to keep checking for updates manually every week since it creates way to much unnecessary traffic.
There are a few reasons we don't have an 'auto-follow/subscribe' feature. They are basically the same reasons we don't have 'submit review', 'add like', etc features.
  • FFF downloads stories so you can save them, but the primary use case is for ebook readers like Kindle and Nook. I don't think it's unreasonable to go back to the sites for things other than reading.
  • FFF supports +100 sites. There are several that share code, but most are unique.

Quote:
Originally Posted by ackomb View Post
2) I've set up to update stories from my e-mail account, and it works except for 1 thing. I've added 2 tag in "Add these tags Automatically" however once they've been updated, these tags don't show. Is there another setting I need to do for this to work?
If you did the update manually (not from email), you probably want to check 'Keep Existing Tags when Updating Metadata?'. FFF config, Basic tab, right hand side, towards the middle in 'GUI Options' box.
JimmXinu is offline   Reply With Quote
Old 03-14-2021, 02:41 PM   #5659
ackomb
Zealot
ackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura about
 
Posts: 106
Karma: 4486
Join Date: Mar 2020
Location: Netherlands
Device: i-pad
Quote:
Originally Posted by JimmXinu View Post
Multi-reply

There are a few reasons we don't have an 'auto-follow/subscribe' feature. They are basically the same reasons we don't have 'submit review', 'add like', etc features.
  • FFF downloads stories so you can save them, but the primary use case is for ebook readers like Kindle and Nook. I don't think it's unreasonable to go back to the sites for things other than reading.
  • FFF supports +100 sites. There are several that share code, but most are unique.
Fair enough, I was just wondering. Never hurts to ask .

Quote:
Originally Posted by JimmXinu View Post
Multi-reply

If you did the update manually (not from email), you probably want to check 'Keep Existing Tags when Updating Metadata?'. FFF config, Basic tab, right hand side, towards the middle in 'GUI Options' box.
I Use the option "Get story URLs from Email" and you said to check the "Keep Existing Tags when Updating Metadata?" which I had checked already.

So not sure what I'm doing wrong
Attached Thumbnails
Click image for larger version

Name:	Knipsel.PNG
Views:	125
Size:	44.6 KB
ID:	185956  
ackomb is offline   Reply With Quote
Old 03-14-2021, 03:21 PM   #5660
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,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
I've tested this in as many combinations as I can think of.

I already mentioned 'Keep Existing Tags when Updating Metadata?' option (it's on the left, not the right, my bad) on the Basic tab.

Another possibility is if you have the Tags New Only checkbox clicked on the Standard Columns tab. That would prevent those tags from being set on update.
JimmXinu is offline   Reply With Quote
Advert
Old 03-14-2021, 03:36 PM   #5661
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,988
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by JimmXinu View Post
Multi-reply


Try:
Code:
 characters=>\s*(\(Elder Scrolls\)|\(Fallout\)|\(Mass Effect\)|\(Skyrim\))$=>
Note the added parans about to group the fandoms.

Your pattern was "\s(Elder Scrolls)" or "(Fallout)" or ... Also, I added a '*' to the space for the inevitable cases without space or with more than one space
That worked Thank you. Its weird that Regex101 showed it should match.
ownedbycats is online now   Reply With Quote
Old 03-14-2021, 03:46 PM   #5662
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,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ownedbycats View Post
That worked Thank you. Its weird that Regex101 showed it should match.
When I go use your regex101 link it has the grouping parans. And if I remove them, the Fallout test line doesn't match the space. Looks like it's working as expected to me.
JimmXinu is offline   Reply With Quote
Old 03-15-2021, 12:14 AM   #5663
watani
Connoisseur
watani began at the beginning.
 
Posts: 51
Karma: 10
Join Date: Oct 2014
Device: Kindle Fire HD
Seems that fanfiction.net just updated their site in a way that broke how FFF gets metadata and chapters for stories on the site. I'm getting this error for every story on FF.net I try to update with the latest test version:

'utf-8' codec can't decode byte 0x9d in position 422: invalid start byte'

This error also occurs in a way that results in no job getting listed in the Calibre log.

Last edited by watani; 03-15-2021 at 12:26 AM.
watani is offline   Reply With Quote
Old 03-15-2021, 10:46 AM   #5664
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,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
I'm not seeing it and no one else has chimed in, so I suspect it's not general.

If you collect a debug log (run Calibre in debug mode, under Preferences drop down) of a failed FFF download and post it here, I might be able to tell you more.
JimmXinu is offline   Reply With Quote
Old 03-15-2021, 03:44 PM   #5665
watani
Connoisseur
watani began at the beginning.
 
Posts: 51
Karma: 10
Join Date: Oct 2014
Device: Kindle Fire HD
Quote:
Originally Posted by JimmXinu View Post
I'm not seeing it and no one else has chimed in, so I suspect it's not general.

If you collect a debug log (run Calibre in debug mode, under Preferences drop down) of a failed FFF download and post it here, I might be able to tell you more.
Apparently letting my computer sit for several hours while I was away at work somehow solved the problem? It was giving the same error message this morning when I woke up, but when I came back this afternoon the message is now gone and I can update FF.net stories fine. I haven't performed any computer restarts or Calibre restarts in the meanwhile, so it's really odd.

In any case, sorry for the apparent false alarm. I'll keep what you said about Calibre's debug mode in mind in case the issue pops up again in the future.
watani is offline   Reply With Quote
Old 03-15-2021, 03:56 PM   #5666
ackomb
Zealot
ackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura about
 
Posts: 106
Karma: 4486
Join Date: Mar 2020
Location: Netherlands
Device: i-pad
Quote:
Originally Posted by JimmXinu View Post
I've tested this in as many combinations as I can think of.

I already mentioned 'Keep Existing Tags when Updating Metadata?' option (it's on the left, not the right, my bad) on the Basic tab.

Another possibility is if you have the Tags New Only checkbox clicked on the Standard Columns tab. That would prevent those tags from being set on update.
Yep that was it, I foolishly thought one would overwrite the other. And it did just not in the order I expected. and for some reason I thought I'd tried that already, guess I didn't.

Thanks again
ackomb is offline   Reply With Quote
Old 03-15-2021, 08:36 PM   #5667
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,988
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by JimmXinu View Post
I'm not seeing it and no one else has chimed in, so I suspect it's not general.

If you collect a debug log (run Calibre in debug mode, under Preferences drop down) of a failed FFF download and post it here, I might be able to tell you more.
I'm unable to confirm error either, but as wild speculation i wonder if perhaps ffnet might be returning pages to this user in something other than utf-8?
ownedbycats is online now   Reply With Quote
Old 03-15-2021, 10:16 PM   #5668
watani
Connoisseur
watani began at the beginning.
 
Posts: 51
Karma: 10
Join Date: Oct 2014
Device: Kindle Fire HD
Can you update an existing story and its metadata without updating its cover? Unchecking the "Update EPUB Cover?" option still results in the cover being updated in Calibre.

Main reason I'm asking is cause the websites which host stories often only have low-res covers, but some stories have high-res covers linked. Unfortunately, the low-res covers fall below the resolution requirement for them to show up as thumbnails on my Kindle Fire HD, so I like to replace them with their respective high-res versions if I find them. Every time I update these stories, however, the replaced high-res covers get overwritten by the website low-res cover so I need to repeat the process and it's a bit annoying.
watani is offline   Reply With Quote
Old 03-15-2021, 10:21 PM   #5669
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,988
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
If you scroll down to the bottom of your personal.ini you can do this:

Code:
[https://archiveofourown.org/works/######]
never_make_cover:true
I do this for a few stories with high-res covers I don't want overwritten, and a few others with NSFW artwork that keeps getting used as covers.

I think there may also be a way to set it to a custom URL/filepath but I am not entirely sure.

Last edited by ownedbycats; 03-15-2021 at 10:24 PM.
ownedbycats is online now   Reply With Quote
Old 03-15-2021, 10:25 PM   #5670
watani
Connoisseur
watani began at the beginning.
 
Posts: 51
Karma: 10
Join Date: Oct 2014
Device: Kindle Fire HD
Quote:
Originally Posted by ownedbycats View Post
If you scroll down to the bottom of your personal.ini you can do this:

Code:
[https://archiveofourown.org/works/######]
never_make_cover:true
I do this for a few stories with high-res covers I don't want overwritten, and a few others with NSFW artwork.
Got it, thanks.

Does make me wonder what the purpose of the "Generate Cover Only for New Books" option is under the Calibre Cover tab of FFF's preferences. I've had that checked, but it still doesn't prevent the covers from being overwritten when updating.
watani is offline   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 11:21 AM.


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