mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
5e25575329
commit
501979a400
@ -601,7 +601,7 @@ class Cache(object):
|
|||||||
def get_metadata(self, book_id,
|
def get_metadata(self, book_id,
|
||||||
get_cover=False, get_user_categories=True, cover_as_data=False):
|
get_cover=False, get_user_categories=True, cover_as_data=False):
|
||||||
'''
|
'''
|
||||||
Return metadata for the book identified by book_id as a :class:`Metadata` object.
|
Return metadata for the book identified by book_id as a :class:`calibre.ebooks.metadata.book.base.Metadata` object.
|
||||||
Note that the list of formats is not verified. If get_cover is True,
|
Note that the list of formats is not verified. If get_cover is True,
|
||||||
the cover is returned, either a path to temp file as mi.cover or if
|
the cover is returned, either a path to temp file as mi.cover or if
|
||||||
cover_as_data is True then as mi.cover_data.
|
cover_as_data is True then as mi.cover_data.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user