![]() |
#5326 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,994
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
I'll ask in the library management subforum.
|
![]() |
![]() |
![]() |
#5327 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,994
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Another question about metadata: are multiple conditionals possible? I'm guessing not as I don't see anything in the documentation about it.
Last edited by ownedbycats; 02-03-2021 at 03:52 AM. |
![]() |
![]() |
![]() |
#5328 | |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,994
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Quote:
|
|
![]() |
![]() |
![]() |
#5329 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
|
|
![]() |
![]() |
![]() |
#5330 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,994
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
OK, how about this?
![]() |
![]() |
![]() |
![]() |
#5331 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
If you want, you can experiment with combining more than one entry into a new extra entry (using include_in_entryname) and then use that for the conditional (with entryname_LIST). |
|
![]() |
![]() |
![]() |
#5332 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,994
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
That makes sense. Thank you.
Good news is that Import List can be used to mark books by their identifiers, in case I ever need to do that in the future. |
![]() |
![]() |
![]() |
#5333 |
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-02-03 - use_browser_cache feature added -- Read fanfiction.net stories from your Chrome browser cache instead of the network. Many thanks to Sidney Markowitz for the stellar help with this. FanFicFare now has the ability to read your Chrome browser cache for fanfiction.net stories instead of (or in addition to) going out to the ffnet servers for them. Obviously, the reason to do this is for when FFF is failing due to CloudFlare, but you can still see the story pages manually in your browser. To use this:
Example ini settings: Spoiler:
Again this only works with Chrome browsers and fanfiction.net (so far). I have, however, tested on Windows, Mac and Linux. If you want to see what's happening in more detail, or have problems, run Caliber in debug mode to see the debug output. FYI, I ran out of time this afternoon, so pre-Cal5 versions haven't been tested yet--they worked last time I tried, but code has changed since then. UPDATE: Just did a quick test in Calibre versions 2, 3 & 4 (in windows) successfully. Last edited by JimmXinu; 02-03-2021 at 05:55 PM. |
![]() |
![]() |
![]() |
#5334 | |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,994
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Quote:
Vivaldi (Chromium-based) has its profile path listed in About. Is Chrome not do that? I am going to test the page cache with Vivaldi though I need to set it up first. Will post results later. EDIT: Also, I'm assuming this is another "ran out of time" thing, but I noticed the commented ini code doesn't seem to be present in defaults.ini in 3.99.16. ANOTHER EDIT: I tested a fresh download of six-chapter story cached in Vivaldi 3.6.2165.34 using use_browser_cache_only. Worked perfectly. I then deleted the cache and tried again. Got a "Story does not exist." If possible for FFF to detect that, perhaps a unique error e.g. "this fic is not cached" would work better, otherwise I predict at least one "FFF says it doesn't exist??? help!!!" post. Also perhaps check for mismatches between the listed # of chapters and how many actually found? Might be more effort than worth it though, and might cause issues if ffnet's still having that metadata lag issue. Last edited by ownedbycats; 02-03-2021 at 04:55 PM. |
|
![]() |
![]() |
![]() |
#5335 | |||
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
Quote:
![]() Quote:
continue_on_chapter_error:true |
|||
![]() |
![]() |
![]() |
#5336 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,994
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
|
![]() |
![]() |
![]() |
#5337 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 69
Karma: 4484
Join Date: Jan 2016
Device: none
|
@JimmXinu,
Just for reference I tried the new browser cache feature and it works perfectly in the both the Vivaldi web browser and Microsoft Edge (both of which are Chromium-based web browsers) for downloading new fics. Next time I get a couple of update notifications, I'll try to use it in updating existing fics. |
![]() |
![]() |
![]() |
#5338 |
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-02-03 - use_browser_cache feature added -- Read fanfiction.net stories from your Chrome browser cache instead of the network. Many thanks to Sidney Markowitz for the stellar help with this. Added since last post: - Give 428 code for not found in cache with use_browser_cache_only so doesn't come up StoryDoesNotExist - Update brotlidecpy for another corner case. Thanks, Sidney! |
![]() |
![]() |
![]() |
#5339 | |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,994
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Quote:
Actually I'll test what happens if you put in the wrong path type. EDIT: Commenting out my existing cache, adding a Linux-type path and using the cache override resulted in a Directory does not contain a known browser cache type: 'C:\home\youruser\.cache\google-chrome\Default\Cache. Uncommenting my existing cache unfortunately still tried to use the Linux one (Windows one was first in the list, if needed for replication) and failed since it didn't exist—unsure whether it only supports one path, or just gave up after seeing one path didn't contain a cache. Also, in the zip file I found a \fanficfare\browsercache\basebrowsercache.py-compress-fail-save that's around a day older than the basebrowsercache.py. From the extension I suspect it might be a leftover. Last edited by ownedbycats; 02-03-2021 at 11:13 PM. |
|
![]() |
![]() |
![]() |
#5340 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,994
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Edit: Merged above
Last edited by ownedbycats; 02-03-2021 at 10:49 PM. |
![]() |
![]() |
![]() |
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 |