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:
|
elif id == 502:
|
||||||
# last update time
|
# last update time
|
||||||
pass
|
pass
|
||||||
elif id == 503 and (not title or title == _('Unknown')):
|
elif id == 503: # Long title
|
||||||
|
if not title or title == _('Unknown'):
|
||||||
title = content
|
title = content
|
||||||
else:
|
#else:
|
||||||
print 'unknown record', id, repr(content)
|
# print 'unknown record', id, repr(content)
|
||||||
if title:
|
if title:
|
||||||
self.mi.title = title
|
self.mi.title = title
|
||||||
|
|
||||||
@ -85,8 +86,10 @@ class EXTHHeader(object):
|
|||||||
content, '%Y-%m-%d',).date()
|
content, '%Y-%m-%d',).date()
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
else:
|
elif id == 108:
|
||||||
print 'unhandled metadata record', id, repr(content)
|
pass # Producer
|
||||||
|
#else:
|
||||||
|
# print 'unhandled metadata record', id, repr(content)
|
||||||
|
|
||||||
|
|
||||||
class BookHeader(object):
|
class BookHeader(object):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user