mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
IGN:...
This commit is contained in:
parent
ee8592dd0f
commit
a487219a4b
@ -57,10 +57,11 @@ class EXTHHeader(object):
|
||||
elif id == 502:
|
||||
# last update time
|
||||
pass
|
||||
elif id == 503 and (not title or title == _('Unknown')):
|
||||
title = content
|
||||
else:
|
||||
print 'unknown record', id, repr(content)
|
||||
elif id == 503: # Long title
|
||||
if not title or title == _('Unknown'):
|
||||
title = content
|
||||
#else:
|
||||
# print 'unknown record', id, repr(content)
|
||||
if title:
|
||||
self.mi.title = title
|
||||
|
||||
@ -85,8 +86,10 @@ class EXTHHeader(object):
|
||||
content, '%Y-%m-%d',).date()
|
||||
except:
|
||||
pass
|
||||
else:
|
||||
print 'unhandled metadata record', id, repr(content)
|
||||
elif id == 108:
|
||||
pass # Producer
|
||||
#else:
|
||||
# print 'unhandled metadata record', id, repr(content)
|
||||
|
||||
|
||||
class BookHeader(object):
|
||||
|
Loading…
x
Reference in New Issue
Block a user