View Single Post
Old 07-05-2011, 03:24 PM   #160
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,733
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
@itimpi - I was away on holiday last week, so top priority when I got back went to the plugins that got broken by Calibre 0.8.8. I had seen your post, but haven't had time to comment.

The first part of a grand total on the View list menu is no problem.

The second part is a little more problematic. A total of all items on the lists is easy enough. However perhaps what you are after is a "true" sync count? This requires a fair bit of computation, as it requires querying to identify what books are already on the list(s) if the list(s) are set to force overwriting, looking up the books to see what have formats available etc. In turn this would slow down the appearance of the right-click menu, making Calibre a little more sluggish.

So if you just want a total of books on lists for the connected device/folder I can do that. But the "more useful" count of exactly how many books it anticipates sending in a sync operation I am hesitant to do? Thoughts?
kiwidude is offline   Reply With Quote