![]() |
#1681 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,025
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
That's what I consider optimal. ![]() |
|
![]() |
![]() |
#1682 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 89
Karma: 706
Join Date: Nov 2012
Device: Kobo Touch
|
Oh, "Created" is changed whenever the epub is modified? I'd thought that field meant "when this story was first added to Calibre" and didn't change after that. That's a piece of information that I didn't need to know for anything and so I ignored it. If it updates whenever the epub file is changed then I'll switch over to using that, it's exactly what I need.
![]() |
![]() |
Advert | |
|
![]() |
#1683 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,025
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
It will also be 'now' if you run 'update metadata only'. |
|
![]() |
![]() |
#1684 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,025
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
I've posted additional comments and a couple patches to the bug report. I hope to convince Kovid to include one patch or the other. |
|
![]() |
![]() |
#1685 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,025
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
![]() So attached is a version that will only update author links (and therefore last_modified on all those authors' books) when the link actually changes. Kovid also says "Note that the next release will also not mark books as dirty if you set the same value as before for the author link." But we don't necessarily want to wait that long. UPDATE Aug 28, 2013 - Remove obsolete beta versions Last edited by JimmXinu; 08-28-2013 at 11:39 AM. Reason: Remove obsolete beta versions |
|
![]() |
Advert | |
|
![]() |
#1686 |
Bujavid tekikin
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 139
Karma: 40366
Join Date: Aug 2013
Location: Malaysia
Device: LG G3 D855, Samsung Galaxy Note N7000
|
Oooh thank you for the quick work! *makes grabby hands* Will having books marked as dirty do anything nasty to the database though?
|
![]() |
![]() |
#1687 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,025
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
No. 'Dirty' in programming terms means something that has been changed and needs to be saved. He just means that the books won't be saved (which is what updates last_modified) if the value is 'set', but isn't actually changed.
|
![]() |
![]() |
#1688 |
Bujavid tekikin
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 139
Karma: 40366
Join Date: Aug 2013
Location: Malaysia
Device: LG G3 D855, Samsung Galaxy Note N7000
|
Ah, good to know. 'Dirty' can mean different things in various contexts, so I wasn't completely sure what was meant.
|
![]() |
![]() |
#1689 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,025
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Version 1.7.38 - 24 Aug 2013
|
![]() |
![]() |
#1690 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 89
Karma: 706
Join Date: Nov 2012
Device: Kobo Touch
|
That better error reporting thing might just have raised its first flags.
![]() Quote:
I tried redownloading the twelve and the errors all popped up again, so this is repeatable for me at least. The fanfics in question are: Quote:
Last edited by FaceDeer; 08-28-2013 at 01:59 AM. Reason: nothing new on my laptop |
|
![]() |
![]() |
#1691 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,025
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
It looks like it's always done that and before the attempt to set the author link just failed silently. Attached is a temporary version that gets it past error, but doesn't fix the fundamental problem. I'll need to research that a bit more first--I'm not sure how to get calibre to accept '&' or 'and' in a single author's name. UPDATE Aug 28, 2013 - Remove obsolete beta versions Last edited by JimmXinu; 08-28-2013 at 11:39 AM. Reason: Remove obsolete beta versions |
|
![]() |
![]() |
#1692 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 89
Karma: 706
Join Date: Nov 2012
Device: Kobo Touch
|
http://www.fanfiction.net/s/9622698/1/ has an author name with "with" in it instead of "and" or "&", Calibre might be splitting on that too.
What a clever program. ![]() |
![]() |
![]() |
#1693 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,139
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Code:
ID: authors_split_regex By default, calibre splits a string containing multiple author names on ampersands and the words "and" and "with". You can customize the splitting by changing the regular expression below. Strings are split on whatever the specified regular expression matches, in addition to ampersands. Default: r'(?i),?\s+(and|with)\s+' |
|
![]() |
![]() |
#1694 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,025
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
But that doesn't allow authors with '&' (that part is hard coded) and tweaks affect all libraries and books. (FYI, calibre changes '&' in an author name to ';'. There's no working around that.) |
|
![]() |
![]() |
#1695 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,025
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Here is a version that I think addresses the author splitting issue.
UPDATE Aug 31 2013 -- Remove obsolete beta versions Last edited by JimmXinu; 08-31-2013 at 04:37 PM. Reason: Remove obsolete beta versions |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Count Pages | kiwidude | Plugins | 1849 | Yesterday 01:22 PM |
[GUI Plugin] Resize Cover | kiwidude | Plugins | 100 | 07-10-2025 08:50 AM |
[GUI Plugin] Find Duplicates | kiwidude | Plugins | 1124 | 04-18-2025 09:19 AM |
[GUI Plugin] Open With | kiwidude | Plugins | 404 | 02-21-2025 05:42 AM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |