MobileRead Forums

MobileRead Forums (https://www.mobileread.com/forums/index.php)
-   Development (https://www.mobileread.com/forums/forumdisplay.php?f=240)
-   -   Regarding using metadata objects in identify method of metadata download plugin api (https://www.mobileread.com/forums/showthread.php?t=242220)

aprekates 07-06-2014 03:16 AM

Regarding using metadata objects in identify method of metadata download plugin api
 
In metadata download plugin api
i read in the identify method:

...
Every Metadata object put into result_queue by this method
...

Where can i found more info about how to create a metadata object and how to put it in a result queue?

Thanks.
Alexandros

kovidgoyal 07-06-2014 04:35 AM

Like this

Code:

from calibre.ebooks.metadata.book.base import Metadata

mi = Metadata('title of book', ['authors of book', 'author2'])



All times are GMT -4. The time now is 08:50 PM.

Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.