View Single Post
Old 03-15-2016, 11:41 PM   #11
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,563
Karma: 79436716
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
It's a lot easier to follow threads if you make use of the [quote] ... [/quote] tags.

So
Quote:
Originally Posted by chaley View Post
Actually, I did. See post #3, where I said
There are two variants.
  • The first: update metadata in CC's library from the calibre database in the cloud. This makes me nervous because the metadata isn't complete. The values of custom columns built from other columns would be lost. I don't like operations that arguably corrupt the CC library.
  • The second: find all books in the cloud library but not in CC's library and add them to CC. This is a more "acceptable" operation because there isn't any data loss; the results would be the same as manually adding the books. It is less acceptable in that the processing required to match all the books in calibre's library to all the books in CC's library would be slow and possibly memory consumptive. The only practical (performance-wise) way I can see to do it is to build two sets of UUIDs, one of the books in CC and the other of the books in calibre, then do a set difference (calibre - cc). The result will be the books that must be added to CC. And BTW: such a process would work for all cloud libraries, not just local libraries.
Your message then looks like

Quote:
Originally Posted by chaley View Post
  • The first: update metadata in CC's library from the calibre database in the cloud. This makes me nervous because the metadata isn't complete. The values of custom columns built from other columns would be lost. I don't like operations that arguably corrupt the CC library.
If you can't get custom columns, I entirely agree that's a bad idea. That would certainly screw me up. Almost all my 'Top, Middle Left, Middle Right, and Bottom' additional lines in the book listing are custom columns.

Quote:
Originally Posted by chaley View Post
  • The second: find all books in the cloud library but not in CC's library and add them to CC. This is a more "acceptable" operation because there isn't any data loss; the results would be the same as manually adding the books. It is less acceptable in that the processing required to match all the books in calibre's library to all the books in CC's library would be slow and possibly memory consumptive.
I think most people are sorta thinking of this as a background operation, so the speed really isn't an issue as long as the rest of the interface can be used, and the new books just show up all at once at the end...and I have no idea how easy that would be.
PeterT is offline   Reply With Quote