mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-26 07:54:50 +01:00
Added calibre:uuid to EXTH:112 (source)
This commit is contained in:
parent
c288c5afce
commit
bf34daf400
1 changed files with 6 additions and 0 deletions
|
|
@ -110,6 +110,12 @@ def build_exth(metadata, prefer_author_sort=False, is_periodical=False,
|
|||
exth.write(uuid)
|
||||
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
|
||||
if not is_periodical:
|
||||
if not share_not_sync:
|
||||
|
|
|
|||
Loading…
Reference in a new issue