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 06-26-2023, 02:19 PM   #8536
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,993
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
I figured it out. I had to add a pointy > (forgot the name) to the empty line in-between.
ownedbycats is online now   Reply With Quote
Old 06-26-2023, 02:42 PM   #8537
TheOne320
Junior Member
TheOne320 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jun 2023
Location: Berlin
Device: Kindle Voyage
So, I changed the user_agent and now it works fine. Makes sense as the error was "Client Error: Forbidden".
TheOne320 is offline   Reply With Quote
Old 06-26-2023, 04:17 PM   #8538
Amalthia
Wizard
Amalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beauty
 
Amalthia's Avatar
 
Posts: 1,188
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
Hi,

I've downloaded a few stories with FanFicFare and my cover is replacing the artwork embedded in the fic. Here is an example url: https://archiveofourown.org/works/48041017

Here is the HTML code in the epub file: you don't need to view the image but it is safe for work.
<img longdesc="https://images.squidge.org/images/2023/06/21/RBB2.jpeg" src="images/cover.jpg"/></p>

In the calibre "Edit Book" panel under "images" the embedded art image file is listed as "OEBPS/images/ffdl-0.jpg."

I'd like the cover image to only be used once as the cover, and embedded art to display in the fic.

I've attached a screenshot of my FFF "Calibre Cover" settings.

I'm using "generate_cover_settings:" in my personal.ini

Code:
generate_cover_settings:
 ${category} => 陈情令 | The Untamed => Untamed
I'd appreciate any and all help in figuring out why my cover settings are replacing all images with my cover image.

Thanks,
Amalthia

p.s. in my FFF personal.ini I'm also using include_images.
Code:
[epub]
epub_version:2.0
include_images: true
jpg_quality: 95
Attached Thumbnails
Click image for larger version

Name:	calibre-cover-settings.png
Views:	173
Size:	85.2 KB
ID:	202317  

Last edited by Amalthia; 06-26-2023 at 04:23 PM. Reason: forgot to share url
Amalthia is offline   Reply With Quote
Old 06-26-2023, 06:06 PM   #8539
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,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Amalthia View Post
I'd like the cover image to only be used once as the cover, and embedded art to display in the fic.
For FFF I made the deliberate design decision to save two copies of the image when an embedded image is also used for the cover.

This is because if the cover and embedded image share the same file inside the epub, when a user injects a new cover, both the cover and embedded image are replaced. Most users don't want that.
JimmXinu is offline   Reply With Quote
Old 06-26-2023, 06:43 PM   #8540
Amalthia
Wizard
Amalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beauty
 
Amalthia's Avatar
 
Posts: 1,188
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
Quote:
Originally Posted by JimmXinu View Post
For FFF I made the deliberate design decision to save two copies of the image when an embedded image is also used for the cover.

This is because if the cover and embedded image share the same file inside the epub, when a user injects a new cover, both the cover and embedded image are replaced. Most users don't want that.
Hi, I'm not using the artwork within the fic as the cover art. I have my own set of fandom cover art from the "generate cover" plugin.

To be clear, it sounds like if you use "generate cover" plugin then the cover image there will replace all images in the fan fiction as the fic is downloaded?

Thanks,
Amalthia
Amalthia is offline   Reply With Quote
Old 06-26-2023, 06:58 PM   #8541
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,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
It's complicated. Have you read the wiki page Cover Settings Calibre Plugin?
JimmXinu is offline   Reply With Quote
Old 06-26-2023, 07:15 PM   #8542
applegaa
Connoisseur
applegaa has learned how to buy an e-book online
 
applegaa's Avatar
 
Posts: 70
Karma: 76
Join Date: Apr 2019
Device: none
Quote:
Originally Posted by TheOne320 View Post
I am trying to download stuff from Scribblehub, but everything is giving me error 403. One example:



Is that all because of CloudFlare? I tried once to get FlareSolverr working for ff.net but could not manage and gave up. If it is CloudFlare, is there an in depth guide for solving that?
I never could get flaresolverr proxy to work, but I found that adding the following to my ScribbleHub section works:

use_cloudscraper:true

It does fail on a story randomly roughly 1 in 30 tries, but I just try it again and it works.

- Andrew
applegaa is offline   Reply With Quote
Old 06-26-2023, 07:19 PM   #8543
Amalthia
Wizard
Amalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beauty
 
Amalthia's Avatar
 
Posts: 1,188
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
Quote:
Originally Posted by JimmXinu View Post
It's complicated. Have you read the wiki page Cover Settings Calibre Plugin?
I didn't realize there was a wiki for this topic. Checking it out now! Thanks.
Amalthia is offline   Reply With Quote
Old 06-26-2023, 07:45 PM   #8544
Amalthia
Wizard
Amalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beauty
 
Amalthia's Avatar
 
Posts: 1,188
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
Quote:
Originally Posted by JimmXinu View Post
It's complicated. Have you read the wiki page Cover Settings Calibre Plugin?
I read through the wiki and it seems mostly focused on cover art, it doesn't discuss what happens if you have cover art and images in the story and how to keep both. Or if it did, I didn't understand what I was reading and missed the solution.

I did try one setting change and it used the image in the story as the cover art, but once I replaced the cover with a cover of my own choosing, it also updated the author's artwork to use cover.jpg.

P.S. to be clear I used the plugin "Generate Cover" to update the Cover of the story. It replaced the cover and the embedded artwork with the "cover" image. that did not used to happen. It used to be "Generate Cover" only updated the cover, not any other images.

p.s. part 2 - I found a story with multiple pieces of artwork and it seems like only the 1st image was replaced with "cover.jpg" the rest of the images were not updated. For now, I'll just edit the epub to use the correct image file. I'll have to do a lot more testing.

Again, I'd appreciate any and all help in figuring this out.

Thanks,
Amalthia

Last edited by Amalthia; 06-26-2023 at 08:01 PM.
Amalthia is offline   Reply With Quote
Old 06-26-2023, 08:33 PM   #8545
Amalthia
Wizard
Amalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beauty
 
Amalthia's Avatar
 
Posts: 1,188
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
Quote:
Originally Posted by JimmXinu View Post
It's complicated. Have you read the wiki page Cover Settings Calibre Plugin?
I believe I found the solution. I updated my personal.ini to use the following code:
Code:
make_firstimage_cover: false
I also updated my settings to use "update calibre cover (from epub):" to Yes, Always and "set Calibre cover only for new books."

In the "Generate Calibre Cover:" settings I'm now using "Yes, unless FanFicFare found a cover image."

I attached a new screenshot.

Thanks for pointing me towards the wiki.

Amalthia

EDITED: I think ultimately the solution was using this code in personal.ini
Code:
make_firstimage_cover: false
I changed my settings back and re-downloaded the fic and cover art stayed the same and the author's artwork wasn't overwritten with my fandom cover.
Attached Thumbnails
Click image for larger version

Name:	calibre-cover-settings2.png
Views:	189
Size:	85.5 KB
ID:	202320  

Last edited by Amalthia; 06-26-2023 at 08:36 PM.
Amalthia is offline   Reply With Quote
Old 06-26-2023, 08:38 PM   #8546
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,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2023-06-26
- Fix for make_firstimage_cover causing embedded image to also use cover.jpg.

Quote:
Originally Posted by Amalthia View Post
IP.S. to be clear I used the plugin "Generate Cover" to update the Cover of the story. It replaced the cover and the embedded artwork with the "cover" image. that did not used to happen. It used to be "Generate Cover" only updated the cover, not any other images.

p.s. part 2 - I found a story with multiple pieces of artwork and it seems like only the 1st image was replaced with "cover.jpg" the rest of the images were not updated. For now, I'll just edit the epub to use the correct image file. I'll have to do a lot more testing.
FFF is deliberately coded to not do what you just said.

Or rather, it was supposed to be. Apparently I broke that last month while fixing a different cover issue.

Last edited by JimmXinu; 06-26-2023 at 08:45 PM. Reason: Add quote for clarity
JimmXinu is offline   Reply With Quote
Old 06-26-2023, 08:47 PM   #8547
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,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Amalthia View Post
I believe I found the solution. I updated my personal.ini to use the following code:
Code:
make_firstimage_cover: false
That does bypass the bug in question.

I'd appreciate it if you'd try the posted test version with your prior settings and report back whether it works for you.

Thanks.
JimmXinu is offline   Reply With Quote
Old 06-26-2023, 10:05 PM   #8548
Amalthia
Wizard
Amalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beauty
 
Amalthia's Avatar
 
Posts: 1,188
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
Quote:
Originally Posted by JimmXinu View Post
New Test Version Posted

2023-06-26
- Fix for make_firstimage_cover causing embedded image to also use cover.jpg.



FFF is deliberately coded to not do what you just said.

Or rather, it was supposed to be. Apparently I broke that last month while fixing a different cover issue.
I downloaded the test fanficfare and loaded the plugin into Calibre. I commented out "make_firstimage_cover: false" and re-downloaded the story where I originally discovered the problem. The cover art came through and the author's artwork wasn't replaced. I think you fixed it.

Thanks,
Amalthia
Amalthia is offline   Reply With Quote
Old 06-27-2023, 03:46 AM   #8549
FandomWitch
Member
FandomWitch began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Jan 2023
Device: none
While doing some metadata tweaking and some forum reading I noticed that the idea of being able to set a specific column to update was mentioned. I am throwing another vote on that. It would make it a lot easier to make a change to my metadata setup. Especially because occasionally I have to go in and tweak the data individually, which an Update from Column can mess up. (and I don't want to mess around with the Saved Metadata column too much)

(Throwing another for this amazing plugin as I make inroads on archiving all my favorites. Wouldn't know where to start organizing without it.)
FandomWitch is offline   Reply With Quote
Old 06-27-2023, 09:12 AM   #8550
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,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by FandomWitch View Post
While doing some metadata tweaking and some forum reading I noticed that the idea of being able to set a specific column to update was mentioned. I am throwing another vote on that.
...
Can you link or quote that post? I don't remember it.
JimmXinu 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 10:27 AM.


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