![]() |
#3346 | |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Apr 2019
Device: Android
|
Quote:
|
|
![]() |
![]() |
![]() |
#3347 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
New Test Version Posted
2019-04-14 - More fixing for bool metadata values--convert to string when set. Okay, now I think I've got it fixed. |
![]() |
![]() |
![]() |
#3348 |
Groupie
![]() ![]() ![]() ![]() Posts: 164
Karma: 354
Join Date: Mar 2009
Location: US
Device: iPad mini
|
Yes that works perfectly now!
![]() ![]() Now another question... Is there anywhere that the bookmark features for AO3 series bookmarks is retained, since AO3 permits bookmarking of series as well as individual stories? Sometimes I don't bookmark all x stories in a series, but just the series, so it would be nice if I could use this to populate my #my_bookmarks column for anthologies. Or maybe if not (I'm thinking maybe it's not possible if AO3 is the only archive that has these features?) perhaps is there a way to use the bookmarked status of one of the stories in the anthology to trigger a "bookmarked" status for the entire anthology? I can't believe the comprehensiveness of this plug-in and the amazing things that can be done with it and how responsive (and patient) you are - truly a fanfic reader's fantasy! |
![]() |
![]() |
![]() |
#3349 | |
Groupie
![]() ![]() ![]() ![]() Posts: 164
Karma: 354
Join Date: Mar 2009
Location: US
Device: iPad mini
|
Ugh, sorry to spam with questions, but I can't find an answer to this one either, despite searching extensively...
I really love the logpage feature in the epubs, but there doesn't seem to be a lot about it in this thread. I've modeled mine after your example, and it works great. But what I'd like to include in my update log is the actual text in the "Comment" field of the log that calibre provides when it does an update and then lets me view the log before making the changes to my library - something like: Quote:
|
|
![]() |
![]() |
![]() |
#3350 | ||
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Glad that's fixed it.
Quote:
Series URLs for anthology epubs are loaded using the generic 'Get Story URLs from Web Page' feature which doesn't parse for site-specific info. Quote:
![]() The download 'comment' isn't metadata collected about the book. In fact, it isn't generated until after the output file has been written. Because if FFF failed to write the output file, that's where it would report it. If you're interested, here's a snippet from my personal.ini. I use an extra entry to explicitly mark when an epub has been overwritten, plus there's words_added which... may not be documented anywhere. ![]() Spoiler:
|
||
![]() |
![]() |
![]() |
#3351 | ||||
Groupie
![]() ![]() ![]() ![]() Posts: 164
Karma: 354
Join Date: Mar 2009
Location: US
Device: iPad mini
|
Quote:
Quote:
Quote:
Quote:
I guess it doesn't seem that many other people are interested in this though! Another series-related question that just occurred to me: is there a way that you can think of to put the title/series name of a series anthology into the "series" column with an designated index - probably of 0 just in case any of the composite stories were also downloaded individually (e.g., {series_name}[0])? |
||||
![]() |
![]() |
![]() |
#3352 |
Groupie
![]() ![]() ![]() ![]() Posts: 164
Karma: 354
Join Date: Mar 2009
Location: US
Device: iPad mini
|
Now I have an actual issue!
I tried the update from URL within email feature, using an update email I received from AO3, for a story that had already been downloaded into my library using FFF. First I received an error message saying: "An error has occurred while FanFicFare was updating calibre's metadata for [fic title]. The ebook has been updated, but the metadata has not." calibre, version 3.40.1 ERROR: Could not open e-book: Failed to read book, D:\Jessica\Documents\Jessica's Stuff\My eBooks\Calibre Fanfic\crazy_like_a\The Unkindness of Ravens (365)\The Unkindness of Ravens - crazy_like_a.epub click "Show Details" for more information Traceback (most recent call last): File "site-packages\calibre\utils\ipc\simple_worker.py", line 289, in main File "site-packages\calibre\ebooks\oeb\iterator\book.py", line 65, in extract_book File "site-packages\calibre\customize\conversion.py", line 244, in __call__ File "site-packages\calibre\ebooks\conversion\plugins\epub_in put.py", line 267, in convert File "site-packages\calibre\utils\localunzip.py", line 231, in extractall File "site-packages\calibre\utils\localunzip.py", line 218, in _extractall ValueError: Not a ZIP file |
![]() |
![]() |
![]() |
#3353 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
That error indicates that the conversion to another format failed--I assume you have auto-convert turned on.
I was able to download and update that story, with auto conversion to AZW3, without issue. There's a chance that it really is a problem with the epub file, especially if you've been heavily customizing output options. Posting the offending epub somewhere and then PM'ing me a link would be useful. (mobileread.com doesn't like NSFW material posted.) Do you get the same error if you try again? Or if you do an 'overwrite always' download? Can you view the epub file in Calibre, or does it give an error too? If you do get the error, try running calibre in debug mode (under Calibre's Preferences dropdown) while you run the download, quit calibre and then post the debug log as txt attachment. |
![]() |
![]() |
![]() |
#3354 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
New Test Version Posted
2019-04-15 - Add remove_authorfootnotes_on_update feature for AO3. This is from a discussion on the google group about how AO3 authorfootnotes will end up at the end of multiple chapters when updating existing epubs. Code:
## AO3 authorfootnotes and inspiredlinks end up in the 'last' chapter, ## but if updated, then there's a new 'last' chapter, leaving multiple ## copies. This option applies the 'skip_on_ffdl_update' class to ## those tags which means they will be removed during epub reading for ## update. This will only effect chapters added after turning the ## setting on. ## Result: Only the last chapter will have end notes. ## Side-effect: An 'Update Always' that doesn't add a new last ## chapter will also remove the end notes. #remove_authorfootnotes_on_update:false |
![]() |
![]() |
![]() |
#3355 | |||
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
While individual story bookmarked values are all collected together in the anthology's bookmarked value, it's a string list of the individual values, eg: "True,False,True" or even "True,True". That's not usable for setting a y/n custom column. In theory, I could add code to accept a string list of true/false, but it's kinda ambiguous. "True,True"==True is fine, but what about "True,False,True" or "True,False"? For your purposes, you want any "True"=True, but other users may disagree... Quote:
Quote:
Which admittedly doesn't help going the other way--adding a series anthology containing books you already have will not be flagged. I could add an optional feature to put 'series 0' in an anthology's series, but having "series 0" in the anthology's series field isn't going to help all that much, either. It wouldn't appear until after you made the anthology, and you'd still have to check it manually. |
|||
![]() |
![]() |
![]() |
#3356 | |
Groupie
![]() ![]() ![]() ![]() Posts: 164
Karma: 354
Join Date: Mar 2009
Location: US
Device: iPad mini
|
Quote:
I got that error after trying my first update from email - a new chapter for an existing story that was already in my library and had downloaded fine the first time with FFF. At the time, I had FFF configured to: - Download from email immediately - Default to update metadata from saved metadata column When I selected "Get Story URLs from Email," the update proceeded without asking for any further input from me - I assume because I had told it to download immediately. The update gave me the error: "An error has occurred while FanFicFare was updating calibre's metadata for [fic title]. The ebook has been updated, but the metadata has not." Then when I tried to open the ebook, I got the error I quoted already, that you said has something to do with converting, and couldn't open the book at all. After thinking about it I wondered whether the problem arose from my default setting to update metadata from saved metadata column - maybe that screwed something up and it failed to update the chapter? (I assume updating from email would obey my defaults here right?) So I tried updating the same book again manually, with "Update Always," but I got the same error again. Then I gave up, deleted the book, and re-downloaded it, which of course worked fine. Unfortunately I did this all yesterday, before I read your reply, so I didn't run in debug mode etc., and now it's too late. I still feel like something went wrong that shouldn't have, but since no other stories in my library have updated with new chapters, and I have no emails with URLs in them, I can't see a way to try it again right now. If it arises again I'll attempt to gather debug information more carefully. I've done very little customizing of the epub. Cover page (using the GC plugin), log page, and add_to_keep_html_attrs, that's about it. |
|
![]() |
![]() |
![]() |
#3357 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
|
![]() |
![]() |
![]() |
#3358 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
New Version Released
Version 3.7.0 - 19 Apr 2019 - Revert "Remove defunct site www.destinysgateway.com" - Recognize destinysgateway.com and www.destinysgateway.com - Remove ncisfic.com -- moved to AO3. - Fix date format for adapter_gluttonyfictioncom - Comment out some old debugs. - Add debug output for encoding used. - Fix some comments. - Add another StoryDoesNotExist string for adapter_fanfictionnet - Closes #390 - RoyalRoad click link in emails. - Update a comment link in setup.py. - Include status 'Hiatus' for adapter_royalroadcom. - Correct a comment in defaults.ini. - Fix for saved custom column metadata and boolean values. - Add bookmarked site specific metadata for adapter_archiveofourownorg. - Fix for PI saved metadata not reading False & empty strings. - More fixing for bool metadata values--convert to string when set. - Add remove_authorfootnotes_on_update feature for AO3. - Update Translations. |
![]() |
![]() |
![]() |
#3359 |
Groupie
![]() ![]() ![]() ![]() Posts: 164
Karma: 354
Join Date: Mar 2009
Location: US
Device: iPad mini
|
I would like pairings separated with "&" on AO3 (eg "Harry & Severus") NOT to be included in "ships" (for purposes of my #ships custom column), but I'd still like them to be included in the Tags column.
I can easily remove the pairing from ships with replace_metadata. But I can't figure out how to do this while keeping the pairing in the tag list - if it isn't a separate tag or character, removing it from ships removes it from the tags. I thought about ships2chars, somehow putting this ship into Characters, but as far as I can tell I can't use that to accomplish what I want (though I have to admit I don't completely understand what ship2chars does and can't find much about it in default.ini or here in the forums, so I definitely could be wrong). But I feel like there must be some way that's just out of my understanding. Do you have any suggestions? Thanks! |
![]() |
![]() |
![]() |
#3360 | |
hopeless n00b
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
|
Quote:
Dunno how to do the above in personal.ini but removing platonic ship tags from a custom ship column is probably something easy to do with Calibre's bulk metadata editor as a saved search. I think this might work. Code:
Search .+([&].+)+ Replace (leave blank) |
|
![]() |
![]() |
![]() |
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 |