View Single Post
Old 10-22-2013, 06:58 AM   #6
At_Libitum
Addict
At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.
 
Posts: 265
Karma: 724240
Join Date: Aug 2013
Device: KyBook
Got another question.

I am doing a
Code:
	book.cover = getattr(mi, 'cover', None)
There is also a cover_data and thumbnail attribute. Now I can imagine that cover_data will contain the binary data for the actual cover and thumbnail will contain same in smaller size.

So I am not entirely sure what cover is meant to contain. Most times when I query the value it returns <drive>:\path\to\calibre\cover.xml
the path is likely the current working directory. However, in the OPF 'cover' does not occur as a dc: field but as a member of the manifest and guide section in the OPF. and cover.xml (sometimes it'll be cover.xhtml or cover.html) is then very often the value of the 'cover' entry in these sections.

Is this considered metadata too by Calibre?

Last edited by At_Libitum; 10-22-2013 at 07:12 AM.
At_Libitum is offline   Reply With Quote