Comments (12)
I'm planning to generate a UUIDv5 of the series metadata with a namespace of 9ea9be91-2966-4fbf-b822-de692259bc9b.
from kepubify.
@davidfor is taking the series ID from Kobo if it exists in the content table with a matching series and author, and otherwise, just using the series name as the ID (https://www.mobileread.com/forums/showthread.php?p=3959768).
I'm going to implement the same thing, but I've decided not to check the author (some series are written by more than one author, and also, it's a lot more likely for there to be inconsistencies in authors than in series).
from kepubify.
Note that if there are different authors for the books in a series, nickel will merge them into a list which displays under the series name in the series view.
from kepubify.
Yeah, I was going to go with whatever @davidfor ends up doing with the Calibre driver.
Haven't had a chance to look into this yet however.
from kepubify.
I've implemented and tested the implementation of this for seriesmeta. See the commit message for more details.
I've also considered adding a trigger to automatically update the series ID if a book is added from the Kobo Store with a proper series ID, but I decided against it for performance reasons (it be another hook which would run on every update of the content table), because it's not an urgent thing to update (it'll be fixed when seriesmeta is run again), and because it won't really occur that often (if someone's sideloading a series, why would they end up getting it from Kobo as well?).
from kepubify.
I'm going to v3.1.0 with this change, and then I'm going to release the patches.
from kepubify.
As of kovidgoyal/calibre@477d9ef, seriesmeta's implementation is fully compatible with Calibre's. It seems that @davidfor decided not to check the author after all.
from kepubify.
Should the trigger update SeriesNumberFloat
as well? It's what I'm planning to do in KU, and what the new calibre changes also appears to do.
I haven't got FW 4.20.x installed on a Kobo yet, so I'm making an assumption here, but one assumes the SeriesNumberFloat
would be used to order the list in Nickel. Is this correct?
from kepubify.
I don't currently update it in seriesmeta. AFAIK, it isn't used anywhere right now. I don't see the harm in updating it though, and I should probably do it myself for the next release.
The list still seems to be in order with only SeriesNumber.
from kepubify.
I wasn't sure how Nickel behaved, since SeriesNumber
is a text column, not a numeric column. Although I guess ORDER BY
SQL works regardless...
from kepubify.
@geek1011: When I checked the code last night, I remembered that I did the series name with a plan to add the author check. But, it worked and I think found a case that would have been broken if the author was also used.
@shermp: I don't think the library lists is done directly from a SQL query. I'm pretty sure that the library is built into a structure and list built from that. Individual book details are pulled up as needed. And, I'm pretty sure I tried setting the SeriesNumberFloat to a different order from the SeriesNumber and the SeriesNumberFloat was used instead.
from kepubify.
But, it worked and I think found a case that would have been broken if the author was also used.
👍
I'm pretty sure that the library is built into a structure and list built from that.
That's correct. After the initial load, it never reads directly from the DB until a reboot, or a sync under some circumstances. When it updates a row, it usually (always?) rewrites all columns, including the unchanged ones.
from kepubify.
Related Issues (20)
- covergen: Unsupported device model with Kobo Libra2
- KepubifyError: convert EPUB: read source EPUB: parse OPF package: xml: unsupported version "1.1"; only version 1.0 is supported HOT 1
- Feature request: Compile for ARMV6 HOT 1
- Feature Request: Improved kobospan algorithm
- Feature Request: Specify an encoding with command line arguments HOT 2
- UTF-8 conversion issue with particular input HOT 3
- Feature Request: Add cover if missing from cover.jpg file (Calibre)
- Kepubify Mac does not work HOT 3
- Quotation Marks & Apostrophe's rendering incorrectly after kepubify conversion HOT 2
- Converted ebook from AO3 is very unstable HOT 1
- Illustrator problem with converted kepub
- Whitespace characters
- Bookmark function unavailable on full screen images HOT 6
- Custom CSS not working in web interface HOT 3
- installation of kepubify on Kobo device
- Web version - No download button?
- Book which generates erroneous kepubs
- What tag/class does kepubify need to recognize an endnote? HOT 2
- An kepub which does not want to import into my kobo clara hd HOT 1
- headings get hyphenated with current hyphenation.css
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kepubify.