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 Yesterday, 09:22 PM   #12241
slimcat
Enthusiast
slimcat can spell AND pronounce 'liseuse.'slimcat can spell AND pronounce 'liseuse.'slimcat can spell AND pronounce 'liseuse.'slimcat can spell AND pronounce 'liseuse.'slimcat can spell AND pronounce 'liseuse.'slimcat can spell AND pronounce 'liseuse.'slimcat can spell AND pronounce 'liseuse.'slimcat can spell AND pronounce 'liseuse.'slimcat can spell AND pronounce 'liseuse.'slimcat can spell AND pronounce 'liseuse.'slimcat can spell AND pronounce 'liseuse.'
 
slimcat's Avatar
 
Posts: 39
Karma: 39964
Join Date: May 2025
Device: Kindle PW, iPad
Quote:
Originally Posted by booster-t View Post
Ummm ... pardon my dumbness, but can someone explain how that tweak works please? Adding it to my personal.ini results in it being red, which means it is incorrect. Help?

Thanks

Stephen
Go to Preferences → Tweaks. In "Change the programs that are run when opening files/URLS" you set the browser you want to open web pages.

For Chrome:
openers_by_scheme = {'http*': '/Applications/Google\\ Chrome.app/Contents/MacOS/Google\\ Chrome %u'}

For Firefox:
openers_by_scheme = {'http*': '/Applications/Firefox.app/Contents/MacOS/firefox %u'}
Attached Thumbnails
Click image for larger version

Name:	CleanShot 2026-07-17 at 18.16.15@2x.png
Views:	10
Size:	194.5 KB
ID:	224488   Click image for larger version

Name:	CleanShot 2026-07-17 at 18.16.45@2x.png
Views:	15
Size:	368.8 KB
ID:	224489  
slimcat is online now   Reply With Quote
Old Yesterday, 11:19 PM   #12242
Meirless
Junior Member
Meirless began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Feb 2024
Device: KOBO
Hi,

I think I broke something, because now Chrome and Firefox don't even open the AO3 pages when I start FFF. 😞

This is the section I modified most recently:
Spoiler:

Code:
[defaults]

# Dates format (année/mois/jour)
datePublished_format:%%y/%%m/%%d
dateUpdated_format:%%y/%%m/%%d

# --- PRÉFÉRENCES DE TÉLÉCHARGEMENT ---
is_adult: true
include_images: true
jpg_quality: 100
keep_summary_html:true

include_subject_tags:prefix_ships_LIST,prefix_category_LIST,prefix_rating,prefix_status,prefix_wordcount

browser_cache_path:C:\Users\minze\AppData\Local\Google\Chrome\User Data\Default\Cache\\Cache_Data
browser_cache_path:C:\Users\minze\AppData\Local\Mozilla\Firefox\Profiles\ZjwI7Fo4.default\cache2

[archiveofourown.org]
#use_archiveofourown_gay:true
#always_login:true

username: HAHA
password: HAHAHA

use_browser_cache:true
use_browser_cache_only:true
open_pages_in_browser:true
browser_cache_age_limit: 4
slow_down_sleep_time:2


Does anyone have an idea what I might have broken?

Thanks in advance!
Meirless is offline   Reply With Quote
Old Today, 12:10 AM   #12243
booster-t
Enthusiast
booster-t knows what time it isbooster-t knows what time it isbooster-t knows what time it isbooster-t knows what time it isbooster-t knows what time it isbooster-t knows what time it isbooster-t knows what time it isbooster-t knows what time it isbooster-t knows what time it isbooster-t knows what time it isbooster-t knows what time it is
 
booster-t's Avatar
 
Posts: 43
Karma: 2464
Join Date: Dec 2020
Location: Vancouver, Canada
Device: iPad, Mac Mini M4 Pro
Cool

Quote:
Originally Posted by slimcat View Post
Go to Preferences → Tweaks. In "Change the programs that are run when opening files/URLS" you set the browser you want to open web pages.

For Chrome:
openers_by_scheme = {'http*': '/Applications/Google\\ Chrome.app/Contents/MacOS/Google\\ Chrome %u'}

For Firefox:
openers_by_scheme = {'http*': '/Applications/Firefox.app/Contents/MacOS/firefox %u'}
Thanks! That worked (for now)

Stephen
booster-t is offline   Reply With Quote
Old Today, 10:17 AM   #12244
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: 7,524
Karma: 5010203
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Multireply

Quote:
Originally Posted by jazzhands View Post
Question: Do I need the whole list of tags under under exclude_metadata_pre: if I already have the top code snippet (include_in_genre: ao3categories) in the file?

If it's easier for you, a Yes or No answer is just fine. No explanation needed.
Maybe? Probably? Restricting genre to only ao3categories will limit what appears in genre and, by default, include_subject_tags (ie Calibre Tags).

Honestly, you're best just trying it and see.

Quote:
Originally Posted by slimcat View Post
I can't get the browser cache to work on either Firefox or Chrome on Mac, but the failures are different. ¯\_(ツ)_/¯

Chrome fails with 'no such table: resources'. Firefox opens the AO3 page but never finds it in the cache and eventually returns a 428 (debug logs attached).
Your Chrome case fails (apparently) because of Chrome's new SQL cache. We looked at it in May and supporting it is... problematic. (And apparently it's also changed since.)

But there is a work around:

You can go into Chrome's Experiments flags and change the cache type to 'simple' or 'blockfile'. Enter chrome://flags/#http-cache-custom-backend into the address bar.

Note I've not tested this recently on mac.

I don't have an explanation for Firefox failing. Might be related why some people can only get AO3 /series/ URLs with browser_cache_age_limit:-1 ??

Quote:
Originally Posted by Meirless View Post
Hi,

I think I broke something, because now Chrome and Firefox don't even open the AO3 pages when I start FFF. 😞

This is the section I modified most recently:
Spoiler:

Code:
[defaults]

# Dates format (année/mois/jour)
datePublished_format:%%y/%%m/%%d
dateUpdated_format:%%y/%%m/%%d

# --- PRÉFÉRENCES DE TÉLÉCHARGEMENT ---
is_adult: true
include_images: true
jpg_quality: 100
keep_summary_html:true

include_subject_tags:prefix_ships_LIST,prefix_category_LIST,prefix_rating,prefix_status,prefix_wordcount

browser_cache_path:C:\Users\minze\AppData\Local\Google\Chrome\User Data\Default\Cache\\Cache_Data
browser_cache_path:C:\Users\minze\AppData\Local\Mozilla\Firefox\Profiles\ZjwI7Fo4.default\cache2

[archiveofourown.org]
#use_archiveofourown_gay:true
#always_login:true

username: HAHA
password: HAHAHA

use_browser_cache:true
use_browser_cache_only:true
open_pages_in_browser:true
browser_cache_age_limit: 4
slow_down_sleep_time:2


Does anyone have an idea what I might have broken?

Thanks in advance!
If it's not opening pages in browser, you may have the same issue as some of our mac users--OS forbidding traditional 'open a link from an other app'. See recent posts about openers_by_scheme. Otherwise, I'd check for duplicate [sections] with conflicting commands in personal.ini.

You have a typo in your Chrome cache path (an extra /).

Also, you need to comment out one browser_cache_path or the other. As is, only the last one will be used.
JimmXinu is offline   Reply With Quote
Old Today, 01:09 PM   #12245
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: 7,524
Karma: 5010203
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by JimmXinu View Post
As for using browser_cache_age_limit: -1 for series -- that appears to be true? But why?

AO3 apparently serves series pages with the header "cache-control: max-age=0, private, must-revalidate", but that sets the expiry time that FFF ignores...

I thought I had this figured out, but apparently not. I was busy today and I'm thinking tired. And I will be busy a lot of tomorrow. So I'll look at on the weekend.

In the meantime, if it works, it works.
FYI, today, I'm not seeing any difference hitting AO3 /series/ URLs with default browser_cache_age_limit:4.0 vs browser_cache_age_limit:-1.

If anyone does still see failure with browser_cache_age_limit:4.0 and success browser_cache_age_limit:-1, I could use to see the debug log for failure and success.

Otherwise, I'm chalking this up to Yet More AO3/Cloudflare weirdness.
JimmXinu is offline   Reply With Quote
Old Today, 01:50 PM   #12246
booster-t
Enthusiast
booster-t knows what time it isbooster-t knows what time it isbooster-t knows what time it isbooster-t knows what time it isbooster-t knows what time it isbooster-t knows what time it isbooster-t knows what time it isbooster-t knows what time it isbooster-t knows what time it isbooster-t knows what time it isbooster-t knows what time it is
 
booster-t's Avatar
 
Posts: 43
Karma: 2464
Join Date: Dec 2020
Location: Vancouver, Canada
Device: iPad, Mac Mini M4 Pro
Quote:
Originally Posted by JimmXinu View Post
FYI, today, I'm not seeing any difference hitting AO3 /series/ URLs with default browser_cache_age_limit:4.0 vs browser_cache_age_limit:-1.

If anyone does still see failure with browser_cache_age_limit:4.0 and success browser_cache_age_limit:-1, I could use to see the debug log for failure and success.

Otherwise, I'm chalking this up to Yet More AO3/Cloudflare weirdness.
Hello Jim

Here's the debug log for success with cache -1

This is my personal.ini segment for A03

[archiveofourown.org]
username:XXXXXX
password:XXXXXX
is_adult:true
## use_archive_transformativeworks_org:true
always_login:true
use_archiveofourown_gay:false
slow_down_sleep_time:4
use_browser_cache:true
use_browser_cache_only:true
open_pages_in_browser:true
browser_cache_age_limit:-1



Stephen
Attached Files
File Type: txt calibre-debug-log.txt (50.6 KB, 1 views)
booster-t is offline   Reply With Quote
Old Today, 01:52 PM   #12247
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: 7,524
Karma: 5010203
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by booster-t View Post
Hello Jim

Here's the debug log for success with cache -1

This is my personal.ini segment for A03
Thanks, but success by itself is not diagnostic.

It's the failure I really need to see. A contrasting success from the same user at near the same time is helpful.
JimmXinu is offline   Reply With Quote
Old Today, 01:59 PM   #12248
booster-t
Enthusiast
booster-t knows what time it isbooster-t knows what time it isbooster-t knows what time it isbooster-t knows what time it isbooster-t knows what time it isbooster-t knows what time it isbooster-t knows what time it isbooster-t knows what time it isbooster-t knows what time it isbooster-t knows what time it isbooster-t knows what time it is
 
booster-t's Avatar
 
Posts: 43
Karma: 2464
Join Date: Dec 2020
Location: Vancouver, Canada
Device: iPad, Mac Mini M4 Pro
Quote:
Originally Posted by JimmXinu View Post
Thanks, but success by itself is not diagnostic.

It's the failure I really need to see. A contrasting success from the same user at near the same time is helpful.
OK just for fun, I changed the cache to 4 and chose a new story with all the characteristics the same ... I was still successful. I suspect there is some other factor affecting outcomes. Here's the debug log.

Stephen
Attached Files
File Type: txt calibre-debug-log2.txt (37.1 KB, 0 views)
booster-t 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 546 05-21-2026 02:44 PM
[GUI Plugin] Open With kiwidude Plugins 405 02-09-2026 07:54 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 02:57 PM.


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