View Single Post
Old 04-17-2011, 09:05 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,427
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The limitation is in the rest of the download system, it basically keeps only one cover per plugin and throws away the rest. The idea is that the plugin is best suited to figuring out which is the best cover and returning it.

Look at the class InternalMetadataCompareKeygen, it is used to sort results in order of relevance. You can implement an alternative algorithm in your plugin if you feel the need.

Then look at the isbndb plugin which further filters returned results based on the title/author query. When doing filtering remember that the user could just specify a single author name or a couple of words from the title.
kovidgoyal is offline   Reply With Quote