Open karlic opened 5 years ago
Having another look at this, I see that viewing the field thumbnail
shows the book's first page, NOT the cover at http://Home.local:8080/get/cover/704/Calibre_Library
For anyone interested, I've sorted this out by writing a Python script that takes metadata directly from Calibre and syncs it to KyBook 3. If there's any interest, I'll make it available.
BTW, turns out coverhash
and thumbnail
were red herrings.
iOS 12.1.4 KyBook 3 v0.7.7 | #162
So: A) it seems that if a PDF has no title, author, or subject, they are taken from Calibre's data, but if they ARE present in the PDF that value is used. This is the wrong way round, as Calibre's data are always the correct version. B) KyBook 3 is not picking up the cover from Calibre. (I have checked in the
metadata
table in KyBook 3's database and the fieldcoverurl
DOES have the correct value http://Home.local:8080/get/cover/704/Calibre_Library and if I visit that URL in a browser the correct cover is displayed. However, I can't get the hash (md5, sha1, or sha256) of the downloaded JPEG (either whole or without metadata) to match the fieldcoverhash
in the tablemetadata
.