Added calibre:uuid to EXTH:112 (source)

This commit is contained in:
GRiker 2013-01-14 08:25:29 -07:00
parent c288c5afce
commit bf34daf400

View File

@ -110,6 +110,12 @@ def build_exth(metadata, prefer_author_sort=False, is_periodical=False,
exth.write(uuid) exth.write(uuid)
nrecs += 1 nrecs += 1
# Write UUID as SOURCE
c_uuid = b'calibre:%s' % uuid
exth.write(pack(b'>II', 112, len(c_uuid) + 8))
exth.write(c_uuid)
nrecs += 1
# Write cdetype # Write cdetype
if not is_periodical: if not is_periodical:
if not share_not_sync: if not share_not_sync: