mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
MOBI: When reading metadata from mobi files, put the contents of the ASIN field into an identifier named mobi-asin
This commit is contained in:
parent
cfdeffa2f7
commit
44636d61e7
@ -126,6 +126,7 @@ class EXTHHeader(object): # {{{
|
||||
elif idx == 113: # ASIN or other id
|
||||
try:
|
||||
self.uuid = content.decode('ascii')
|
||||
self.mi.set_identifier('mobi-asin', self.uuid)
|
||||
except:
|
||||
self.uuid = None
|
||||
elif idx == 116:
|
||||
|
Loading…
x
Reference in New Issue
Block a user