Quote:
Originally Posted by NiLuJe
@dhdurgee: Haha! Periodicals are (generally) unsupported.
(And even when they are and the support is hidden behind a flag [like in the K5 version], they often don't bundle a proper cover. Periodicals are very peculiar, in terms of the internals of the file format).
You can check what the mobicover python script (linkss/bin/kindleunpack) throws back at you, and even double check w/ the full, upstream version of KindleUnpack if you really care about that.
|
Per your suggestion I downloaded the full KindleUnpack and ran it:
Code:
dhdurgee@DHD-Z560 ~/bin/KindleUnpack_v075/lib $ ./kindleunpack.py /media/dhdurgee/Kindle/documents/Asimov\ s\ Science\ Fiction-asin_B00T8JNGO6-type_MAGZ-v_1.azw /var/tmp
KindleUnpack v0.75
Based on initial mobipocket version Copyright © 2009 Charles M. Hannum <root@ihack.net>
Extensive Extensions and Improvements Copyright © 2009-2014
by: P. Durrant, K. Hendricks, S. Siebert, fandrieu, DiapDealer, nickredding, tkeo.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, version 3.
Unpacking Book...
Palm DB type: BOOKMOBI, 124 sections.
Warning: Bad key, size, value combination detected in EXTH 406 16 0000000000000000
Unpacking a Mobipocket 6 book...
Processing Mobipocket 6 section of book...
Mobi Version: 6
Codec: utf-8
Title: Asimov's Science Fiction
EXTH Title: Asimov's Science Fiction
Huffdic compression
Traceback (most recent call last):
File "./kindleunpack.py", line 968, in <module>
sys.exit(main())
File "./kindleunpack.py", line 957, in main
unpackBook(infile, outdir, apnxfile, epubver, use_hd)
File "./kindleunpack.py", line 871, in unpackBook
process_all_mobi_headers(files, apnxfile, sect, mhlst, K8Boundary, False, epubver, use_hd)
File "./kindleunpack.py", line 718, in process_all_mobi_headers
raise unpackException('Book is encrypted')
__main__.unpackException: Book is encrypted
dhdurgee@DHD-Z560 ~/bin/KindleUnpack_v075/lib $
So it appears that the problem is the script can't deal with an encrypted book at present. Given that many kindle books are encrypted, I would expect this to fail much of the time. Is there a way around this? Is there a way to manually add covers to the cache in such a situation?
Dave