For a newly added EBOK file, Kindle tries to fetch its cover from Amazon even when the cover already exists in /system/thumbnails. The process will replace the existing cover with a ~900 bytes tiny stub image with caption "image not available" in it. Overwriting the stub file with the correct cover again and Kindle will not try to destroy it. (See also: calibre FAQ)
This PR makes the code overwrite these stub files, so user does not have to use --overwrite-amzn-thumbs flag.
For a newly added EBOK file, Kindle tries to fetch its cover from Amazon even when the cover already exists in
/system/thumbnails
. The process will replace the existing cover with a ~900 bytes tiny stub image with caption "image not available" in it. Overwriting the stub file with the correct cover again and Kindle will not try to destroy it. (See also: calibre FAQ)This PR makes the code overwrite these stub files, so user does not have to use
--overwrite-amzn-thumbs
flag.