mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Added calibre:uuid to EXTH:112 (source)
This commit is contained in:
parent
c288c5afce
commit
bf34daf400
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user