Fix #1467 (Change MOBI EXTH cdeType metadata to EBOK if it's not EBOK)

This commit is contained in:
Kovid Goyal 2021-07-01 08:22:34 +05:30
parent f893013435
commit 37a8413c9a
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -402,6 +402,7 @@ class MetadataUpdater(object):
if asin is not None: if asin is not None:
update_exth_record((113, asin.encode(self.codec))) update_exth_record((113, asin.encode(self.codec)))
update_exth_record((501, b'EBOK'))
update_exth_record((504, asin.encode(self.codec))) update_exth_record((504, asin.encode(self.codec)))
# Add a 112 record with actual UUID # Add a 112 record with actual UUID