Quote:
Originally Posted by pchrist7
Hi meme.
If I get this right, when importing collection info into Calibre custom column, the data is changed for ALL books in calibre, and then a full backup of calibre is triggered.
Is it possible to modify the import function, so a books metadata/custom column data is only changed if it's changed ?
Maybe I misunderstood it all, but ....
Cheers, Per
|
Yes, the Import Collections function zeroes out the column you've selected and then populates the entries for books with data. This was the easiest way to do it since calibre provides functions to do this in a couple of calls. But its also the only way to be sure any old collections are removed. If the import only modified the books that were found on the Kindle, then it would miss blanking the column entries for the books no longer on the Kindle.
Well, I guess that's not fully true - its not the only way. I suppose I could scan the list of books and update/zero out only the changed ones. My concern would be performance - checking every entry, see if its on the Kindle, see if the collections are different, modify them if different, and if not on the Kindle check if its blank, if not blank it. If I remember my initial tests it did take longer, but I can't remember if it was significant or not.
I don't have my calibre library set to back up (maybe something I should look into

) so if a backup is triggering a backup of all books each time you import then that sounds like it would take quite a bit longer than checking if things changed.
I'll have a look into, but it might take a bit.