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 04-25-2022, 07:39 PM   #7051
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 ownedbycats View Post
Question: is it possible to do a replace_metadata based on an author URL (rather than the author name)?

edit: actually, that might not work, as AO3 seems to use the author name in the URL rather than some sort of uid. Since it's one story I guess story URL would work.
Possible, I suppose? But I wouldn't recommend it without a very good reason.

I wouldn't recommend changing authorId either, as at least a few adapters construct authorUrl from authorId and other bits.
JimmXinu is offline   Reply With Quote
Old 04-25-2022, 10:34 PM   #7052
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

2022-04-25
- adapter_phoenixsongnet: Remove login code and changes for static author links.
- adapter_webnovelcom: Fixes for site changes. #828
- adapter_fictionhuntcom: Fixes for site changes.
JimmXinu is offline   Reply With Quote
Advert
Old 04-25-2022, 11:59 PM   #7053
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,995
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by JimmXinu View Post
Possible, I suppose? But I wouldn't recommend it without a very good reason.

I wouldn't recommend changing authorId either, as at least a few adapters construct authorUrl from authorId and other bits.
Specifically, the author of a fanfic seems to change their username every time they update their fic and I wanted to retain the original one for save template reasons.

Thankfully I was able to put a match-anything replace for the author under a [https://archiveofourown.org/works/xxxx] section. Is this the best way to handle it?

Last edited by ownedbycats; 04-26-2022 at 12:02 AM.
ownedbycats is offline   Reply With Quote
Old 04-26-2022, 05:43 AM   #7054
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by JimmXinu View Post
That was my thought as well from the initial error "TypeError: '<' not supported between instances of 'int' and 'NoneType'".

But the FFF code only calls set_marked_ids() with a dict that contains id->string value, or an empty dict() to clear all marks. No where does it set a boolean or a None into the dict. And I haven't been able to reproduce the reported issue.
I think I know what is happening but I won't be able to work on it for a week or so. The marked set can apparently contain the ids of deleted books. These might change to a book id of None. Alternatively, someone passed a set containing {None:'aaa'}. In any event, a key of None should be filtered out.
Quote:
This new named marking UI conflicts a bit with the way Reading List PI and FFF have used a unique, numbered named mark on each book to both mark and order. I wonder if having hundreds or thousands of uniquely named marks (from viewing a Reading List) will cause problems? My 5k+ library fills the screen on 'Show marked books with text' but otherwise is fine.
I will change it to show only the first 40 (arbitrary). More than that were probably produced programmatically and aren't useful, and can be done with search.
Quote:
FYI, the new 'Mark with text label' action will allow an all whitespace label. And treats one space and two spaces as different labels. Doesn't seem to hurt anything, but may not be desired.
That isn't good. I will fix it.
chaley is offline   Reply With Quote
Old 04-26-2022, 11:39 AM   #7055
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 chaley View Post
I think I know what is happening but I won't be able to work on it for a week or so. The marked set can apparently contain the ids of deleted books. These might change to a book id of None. Alternatively, someone passed a set containing {None:'aaa'}. In any event, a key of None should be filtered out.


Quote:
Originally Posted by chaley View Post
I will change it to show only the first 40 (arbitrary). More than that were probably produced programmatically and aren't useful, and can be done with search.
That works. People naming them manually is really a different use case.
JimmXinu is offline   Reply With Quote
Advert
Old 04-26-2022, 11:40 AM   #7056
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,995
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
I noticed the coloured pins with reading list and FFF too. I wondered if it might be possible to somehow set, e.g. reading_list_to_be_read_\d{4} to all be the same colour.
ownedbycats is offline   Reply With Quote
Old 04-26-2022, 11:40 AM   #7057
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 ownedbycats View Post
Thankfully I was able to put a match-anything replace for the author under a [https://archiveofourown.org/works/xxxx] section. Is this the best way to handle it?
Nothing better comes to mind.
JimmXinu is offline   Reply With Quote
Old 04-26-2022, 11:50 AM   #7058
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 ownedbycats View Post
I noticed the coloured pins with reading list and FFF too. I wondered if it might be possible to somehow set, e.g. reading_list_to_be_read_\d{4} to all be the same colour.
I thought that it would also be nice if Mark grouped named marks ignoring the trailing _\d{4,} RL and FFF uses, but it would be pretty specifically for those plugins. ({4,} because it's not impossible for there to more than 4 digits.)

Is there a thread for discussing the mark feature changes? I didn't immediately see one.
JimmXinu is offline   Reply With Quote
Old 04-26-2022, 12:27 PM   #7059
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,995
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
I didn't see one either; I believe the change came from a request on launchpad. You could probably make a thread in the dev subforum.
ownedbycats is offline   Reply With Quote
Old 04-26-2022, 12:45 PM   #7060
ILB
Groupie
ILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipseILB can illuminate an eclipse
 
ILB's Avatar
 
Posts: 173
Karma: 8098
Join Date: Jun 2012
Location: Germany
Device: Kindle Voyage, Kindle Oasis
Quote:
Originally Posted by JimmXinu View Post
ILB - What are your FFF 'Mark' settings on the FFF General config tab, and how did you produce the error? Were you doing anything else that used Marks at the time?
I don´t know if you still need this information but I got that error with "get story urls from mail"


My setting in the basic tab from FFF
Spoiler:
Click image for larger version

Name:	tab basic.png
Views:	123
Size:	5.9 KB
ID:	193472
ILB is offline   Reply With Quote
Old 04-26-2022, 02:25 PM   #7061
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by JimmXinu View Post
I thought that it would also be nice if Mark grouped named marks ignoring the trailing _\d{4,} RL and FFF uses, but it would be pretty specifically for those plugins. ({4,} because it's not impossible for there to more than 4 digits.)
There are only 6 pin colors so they are recycled for the various names.

I think that grouping marks to pins is the beginning of a never-ending chain of enhancement requests. I have to ask "What does the current implementation break?" And "How many people care?"
Quote:
Is there a thread for discussing the mark feature changes? I didn't immediately see one.
No. Feel free to make one.
chaley is offline   Reply With Quote
Old 04-26-2022, 02:32 PM   #7062
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
ILB - I'm still not able to duplicate it. In the meantime, you could turn off marking in FFF, or switch back a version of Calibre and see if that helps.

chaley - You're not wrong--I was asking about a thread to make another suggestion.
JimmXinu is offline   Reply With Quote
Old 04-26-2022, 05:57 PM   #7063
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

2022-04-26
- Py2 vs py3 fix #828

Only matters for webnovel.com on Calibre 4 and below.
JimmXinu is offline   Reply With Quote
Old 04-26-2022, 06:01 PM   #7064
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,995
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by JimmXinu View Post
Nothing better comes to mind.
While a hypothetical for now, is there a way to share settings between several story URLs rather than duplicating them?
ownedbycats is offline   Reply With Quote
Old 04-26-2022, 06:11 PM   #7065
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
The only current feature I can think of is _filelist (wiki link).
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 09:52 AM.


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