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 10-29-2024, 09:47 AM   #10066
HowWouldIKnow
Enthusiast
HowWouldIKnow began at the beginning.
 
Posts: 37
Karma: 10
Join Date: Dec 2020
Device: Kobo Glo
Quote:
Originally Posted by JimmXinu View Post
That can be done using custom_columns_settings in personal.ini for ao3categories, hits, kudos & bookmarks.
Hmm I tried it like that but there is no change:

Code:
custom_columns_settings:
#characters=>#characters
fandoms=>fandoms
ao3categories=>categories
kudos=>kudos
hits=>hits
bookmarks=>bookmarks
comments=>comments

Last edited by PeterT; 10-29-2024 at 10:56 AM.
HowWouldIKnow is offline   Reply With Quote
Old 10-29-2024, 10:46 AM   #10067
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,214
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by HowWouldIKnow View Post
Hmm I tried it like that but there is no change:
Custom column names all have to have '#' at the start. And the INI format requires a leading space for each line to be considered part of the same setting.

Like so:
Code:
custom_columns_settings:
 fandoms=>#fandoms
 ao3categories=>#categories
 kudos=>#kudos
 hits=>#hits
 bookmarks=>#bookmarks
 comments=>#comments
Edit: Also, it works better to use [CODE] instead of [QUOTE] around ini snippets.
JimmXinu is offline   Reply With Quote
Old 10-29-2024, 05:07 PM   #10068
iakrus
Member
iakrus began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Aug 2024
Device: kobo sage
Quote:
Originally Posted by JimmXinu View Post
It would also help to know exactly how you are invoking FFF when this happens.
Hey!

Turns out this was the issue, I think! I've been using shortcuts for a while, and the issue is that my shortcut to "Download Fanfiction Books from URLs - Update EPUB if new chapter" will only do that!

At first I was confused because testing with other things seemed like it was working again! I only figured it out when I cycled back around to trying the different ways with a different fic and it didn't work - with my shortcut!

Then after even MORE testing I noticed that even though my settings say it should default to 'update calibre metadata from website', which I had changed to while doing all my metadata changes - eventually i'll have to update the metadata of my whole 17k library (in short bursts, ive read the FAQ!) and I use it now to test each change I make.

So I used my shortcut with a fic that had a duplicate, and every single option I clicked in the drop down returned with "More than one identical book etc etc" or if there was only one in there, "Already contains X chapters."

What made this difficult for me to notice is that when adding new books, it works just fine! And that's of course what I use it for 90% of the time. This only became a problem when I tried to download duplicates of fics to test metadata changes.

So yeah, the shortcuts are specific and only allow you to do the one option you chose for the shortcut, even if you try and change it in the pop up window. Good to know!

Quote:
(Unrelated - Are you deliberately ignoring the "always_reload_first_chapter doesn't work in [www.fanfiction.net]" warning?)
The honest answer to this was yes I was! Because when I added that line along with a couple of others I was able to download and update ffn fics for the first time in like a year, and i could have tested which bit of code had fixed it, but I was so relieved it was working, and didn't want to accidentally break it again (I'm good at that) that I resigned myself to clicking the "save anyway" button on the popup each time!
You'll be releaved to know that line is no longer in my personal.ini I'm sure!

(Also I'm a very visual person so I took screenshots of my steps along the way and I'm gonna add them below even though it's not 100% necessary!)
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2024-10-29 182820.png
Views:	49
Size:	12.8 KB
ID:	211735   Click image for larger version

Name:	Screenshot 2024-10-29 182629.png
Views:	57
Size:	23.2 KB
ID:	211736   Click image for larger version

Name:	Screenshot 2024-10-29 183348.png
Views:	49
Size:	23.6 KB
ID:	211737   Click image for larger version

Name:	Screenshot 2024-10-29 190611.png
Views:	52
Size:	26.3 KB
ID:	211738   Click image for larger version

Name:	Screenshot 2024-10-29 183951.png
Views:	47
Size:	47.2 KB
ID:	211739  
iakrus is offline   Reply With Quote
Old 10-29-2024, 06:19 PM   #10069
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,214
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2024-10-29
- Fix for D/L from URL Mode Menu actions not honoring changed update mode in dialog.

Quote:
Originally Posted by iakrus View Post
Turns out this was the issue, I think! I've been using shortcuts for a while, and the issue is that my shortcut to "Download Fanfiction Books from URLs - Update EPUB if new chapter" will only do that!
Confirmed. If you use one of the mode-specific menu actions for Download by URL, that mode will be used even if you change it in the dialog.

Conversely, the Update options honor your (2nd) choice if you change the mode in the dialog.

So this was a bug.
JimmXinu is offline   Reply With Quote
Old 10-30-2024, 10:20 PM   #10070
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,214
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2024-10-30
- Update Translations
JimmXinu is offline   Reply With Quote
Old 11-01-2024, 12:15 AM   #10071
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: 11,439
Karma: 81367635
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
In storyUrl section, is there a way to set series00 as series01 and vice-versa?
ownedbycats is offline   Reply With Quote
Old 11-01-2024, 11:02 AM   #10072
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,214
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ownedbycats View Post
In storyUrl section, is there a way to set series00 as series01 and vice-versa?
I thought that would be easy, but I can't think of any way that works.

Best I can think of is to swap them in 'temp' entries, something like:
Code:
[https://archiveofourown.org/works/XXXXX]
add_to_extra_valid_entries:,seriesT0,seriesT1,seriesT0Url,seriesT1Url,seriesT0HTML,seriesT1HTML

include_in_seriesT1:series00
include_in_seriesT0:series01
include_in_seriesT1Url:series00Url
include_in_seriesT0Url:series01Url

add_to_make_linkhtml_entries:,seriesT0,seriesT1

add_to_custom_columns_settings:
 seriesT0=>#seriesFirst
 seriesT1=>#seriesSecond
But if that's what you are trying to do, you might as well just:

Code:
[https://archiveofourown.org/works/XXXXX]
add_to_custom_columns_settings:
 series01=>#seriesFirst
 series00=>#seriesSecond
Depending on what you do, it might necessary to put seriesT0/1 in the site section and then add the swap part each story you want swapped.
JimmXinu is offline   Reply With Quote
Old 11-01-2024, 11:09 AM   #10073
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,214
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Version Released

Version 4.40.0 - 2024-11-01
- Update Translations
- Fix for D/L from URL Mode Menu actions not honoring changed update mode in dialog.
- Add error_dialog for email fetch failure about 2FA/outlook etc.
- adapter_ficbooknet: Another site update, thanks dbhmw #1125
- adapter_ficbooknet: Fixes for site changes, thanks dbhmw
- adapter_inkbunnynet: Add login for Get URLs from Page (#1119), thanks dbhmw
- adapter_syosetucom: Fix for site changes, thanks praschke
- Change decode_emails default to true.
- adapter_deviantartcom: Site changes, new chapter text tag. See #1118
JimmXinu is offline   Reply With Quote
Old 11-01-2024, 06:31 PM   #10074
DragoLord19d
Member
DragoLord19d began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Apr 2019
Device: Ipad
Hiyah, got a quick question. been getting this error the last few days when I run Fanficfare.
I've deleted and reinstalled Calibre soo...


calibre, version 7.20.0
ERROR: Unhandled exception: <b>FileNotFoundError</b>:[Errno 2] No such file or directory: 'C:\\Users\\Owner\\AppData\\Local\\Temp\\calibre_z ugaicfi\\fanficfare_bo_yats8\\ze7kr5lu.basic_cache '

calibre 7.20 embedded-python: True
Windows-10-10.0.22631-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.22631')
Python 3.11.5
Windows: ('10', '10.0.22631', 'SP0', 'Multiprocessor Free')
Interface language: None
EXE path: C:\Program Files\Calibre2\calibre.exe
Successfully initialized third party plugins: Barnes & Noble (1, 5, 6) && BookFusion Plugin (0, 8, 1) && EpubCheck (0, 2, 5) && EpubMerge (3, 2, 0) && EpubSplit (3, 9, 0) && FanFicFare (4, 39, 0) && Last Modified (0, 8, 5) && Modify ePub (1, 8, 5) && ePub Extended Metadata {Writer} (0, 11, 4) && ePub Extended Metadata {Reader} (0, 11, 4) && ePub Extended Metadata (0, 11, 4)
Traceback (most recent call last):
File "calibre_plugins.fanficfare_plugin.fff_plugin" , line 1070, in update_dialog
File "calibre_plugins.fanficfare_plugin.dialogs", line 643, in LoopProgressDialog
File "calibre_plugins.fanficfare_plugin.fff_plugin" , line 1102, in update_dialog_finish
File "calibre_plugins.fanficfare_plugin.fff_plugin" , line 1164, in prep_downloads
File "calibre_plugins.fanficfare_plugin.dialogs", line 643, in LoopProgressDialog
File "calibre_plugins.fanficfare_plugin.fff_plugin" , line 1725, in start_download_job
File "calibre\ptempfile.py", line 172, in __init__
File "calibre\ptempfile.py", line 151, in _make_file
File "tempfile.py", line 341, in mkstemp
File "tempfile.py", line 256, in _mkstemp_inner
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\Owner\\AppData\\Local\\Temp\\calibre_z ugaicfi\\fanficfare_bo_yats8\\ze7kr5lu.basic_cache '

Last edited by DragoLord19d; 11-01-2024 at 07:19 PM. Reason: more info
DragoLord19d is offline   Reply With Quote
Old 11-01-2024, 09:04 PM   #10075
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,407
Karma: 62500208
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
That says the temp file has disappeared while in use.
Over aggressive cleaner or anti-malware?
theducks is offline   Reply With Quote
Old 11-02-2024, 12:37 AM   #10076
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,214
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Or full disk, or failing disk; maybe a permissions error.
JimmXinu is offline   Reply With Quote
Old 11-02-2024, 02:58 PM   #10077
TheOne320
Junior Member
TheOne320 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jun 2023
Location: Berlin
Device: Kindle Voyage
I just got my new Kindle Colorsoft and now I am wondering how can I get FanFicFare to import stories with colours? Some RoyalRoad stories use colour in tables or just to highlight specific words. How can I setup FanFicFare to save these colours in the epub?
TheOne320 is offline   Reply With Quote
Old 11-02-2024, 04:49 PM   #10078
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,214
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by TheOne320 View Post
I just got my new Kindle Colorsoft and now I am wondering how can I get FanFicFare to import stories with colours? Some RoyalRoad stories use colour in tables or just to highlight specific words. How can I setup FanFicFare to save these colours in the epub?
Depends on the story and how color is implemented.

Tag Styles

A lot of the time, it's style attributes on individual tags. By default, FFF removes style attributes from tags.

From defaults.ini:
Spoiler:
Code:
## Some attributes cause problems for EBook readers.  By default,
## FanFicFare will remove all attributes except the ones specified
## from all tags.  (The only exception is that <img> tags will also
## keep src, alt and longdesc attributes.  data-orighref is used by
## internalize_text_links to preserve links when chapters are
## inserted.)
## Example: To add 'style', 'title' and 'align' to the list to keep,
## in your personal.ini [defaults] put:
## add_to_keep_html_attrs:,style,title,align
keep_html_attrs:href,name,class,id,colspan,rowspan,data-orighref


You can keep style and align attrs for RR only, or all epubs like so:
Code:
[www.royalroad.com]
add_to_keep_html_attrs:,style
# use one or the other, not both
[epub]
add_to_keep_html_attrs:,style
Stylesheets

In some stories/sites, colors/styles are implemented in a separate CSS stylesheet tag or file and applied by tag/class/id.

There isn't a one-line solution for those. You'll need to identify the needed CSS and add it to personal.ini with add_to_output_css. Probably on a story-by-story basis; unless a site or author has a common CSS they use.

In either case, you'll have to do an overwrite always download to get these changes in stories you've already downloaded before.
JimmXinu is offline   Reply With Quote
Old 11-07-2024, 10:02 PM   #10079
XRoverMaelstromX
Junior Member
XRoverMaelstromX began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jun 2021
Device: MoonReader+ (Android App)
I am trying to change how FanFicFare phrases the status metadata piece when it puts it into tags. I used replace metadata and it came out very weird and I don't understand why.

My personal.ini has the following:

Code:
include_subject_tags: status, extratags

extratags: Type - Fanfiction
Previously, this resulted in the tags Completed or In-Progress being inserted into my tags column, depending on how the fic was marked on Ao3.

Today I added:

Code:
replace_metadata:
 status=>Completed=>Status - Completed
 status=>In-Progress=>Status - In-Progress
This resulted in the tags Status - Status - Completed or Status - Status - In-Progress being inserted into my tags column, depending on how the fic was marked as normal.

I don't understand where that extra "Status - " came from at all and I'm very lost on how to fix that.

Also, I realized this messes with the way my title page is generated, since the title page now has Status: Status - Completed or Status: Status - In-Progress, which makes sense for my use of replace_metadata but isn't ideal. Is there a way to change just the way the status metadata piece is phrased when it's put into the tags but not on the title page of the epub? I feel like there is and I'm just missing something, but I'm not sure.
XRoverMaelstromX is offline   Reply With Quote
Old 11-07-2024, 10:12 PM   #10080
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: 11,439
Karma: 81367635
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
a bit tired to explain it coherently, but try using anchors to define the beginning and end of strings, e.g.

Code:
replace_metadata: 

 author=>^Anonymous$=>Unknown
 author=>^orphan_account$=>Unknown

Last edited by ownedbycats; 11-07-2024 at 10:15 PM.
ownedbycats 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 527 08-15-2025 02:36 PM
[GUI Plugin] Open With kiwidude Plugins 404 02-21-2025 06:42 AM
[GUI Plugin] Marvin XD Philantrop Plugins 126 01-29-2017 01:48 PM
[GUI Plugin] KiNotes -axel- Plugins 0 07-14-2013 07:39 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 01:27 PM


All times are GMT -4. The time now is 10:04 AM.


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