View Single Post
Old 03-14-2016, 06:12 PM   #8
DavidTC
Connoisseur
DavidTC began at the beginning.
 
Posts: 77
Karma: 10
Join Date: Sep 2011
Device: Nook, Boox C67ML
First, a bit of a peeve. Don't tell me what is hard and what isn't hard. I know my app (4 years of development) and calibre (6 years of development) inside out, and I am capable of estimating the complexity and work to do X.

Sorry. When I say things are easy, I just mean, 'It appears CC is already doing most of this in some manner'. But I don't know anything about the internals of CC, and very very little about the internals of Calibre, and certainly didn't want to imply I knew better than you.

Why put there by CC? Because CC reads the metadata out of the books (epubs only). When a book is sent from calibre to CC via the WD connection, the metadata in the book is updated to what is in calibre at that moment. The most important bit is the book's UUID, which permits CC and calibre to agree later on which book in the calibre library matches which book in CC's library.

First, you said you were considering something, and I'm not quite sure what it is, so if you have better ideas, nevermind.

And at this point, I've pretty much got a working system cobbled together from leaving Calibre running all day and getting CC to connect once a day, which it *usually* manages. I don't supposed I could at least get Tasker support to trigger a connection, which would let me do it when the device was actually *on* the correct network? Tasker can trigger an Activity in an app, so if you'd just expose 'Connect' as one...

But it's clear I've been wrong about some stuff, namely, I thought that CC *couldn't* read the metadata of epubs, or at least that was something you seriously wanted to avoid, so I was proposing hacks using the Calibre db. I thought reading book metadata was flatly something you wouldn't do.

But as CC *does* turn out read them, which is how it does the 'link them up with Calibre books'. Which means all my 'Get the metadata somehow' ideas were pointless.

That means, right now, 'Scan all books and add them using their internal metadata' could be possible, in theory, and the only reason CC doesn't have it as a menu item is that it would cause problems with people who just drop non-Calibre books in there?

Or is CC only reading the Calibre UUID, and then gets all the other information from Calibre?
DavidTC is offline   Reply With Quote