mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-24 00:56:03 +01:00
MOBI metadata: When reading author sort from MOBI files, construct the final value from all author fields
This commit is contained in:
parent
0e46388e20
commit
aad417b5d3
1 changed files with 2 additions and 0 deletions
|
|
@ -127,6 +127,8 @@ def process_metadata(self, idx, content, codec):
|
|||
self.mi.authors.append(m.group())
|
||||
if self.mi.is_null('author_sort'):
|
||||
self.mi.author_sort = m.group()
|
||||
else:
|
||||
self.mi.author_sort += ' & ' + m.group()
|
||||
else:
|
||||
self.mi.authors.append(au)
|
||||
elif idx == 101:
|
||||
|
|
|
|||
Loading…
Reference in a new issue