From d6903d4def812388af3c649506060fd7d1d18df0 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 28 Mar 2009 18:03:03 -0700 Subject: [PATCH] IGN:... --- src/calibre/ebooks/mobi/reader.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/calibre/ebooks/mobi/reader.py b/src/calibre/ebooks/mobi/reader.py index b5296e7092..62f1f0fd4a 100644 --- a/src/calibre/ebooks/mobi/reader.py +++ b/src/calibre/ebooks/mobi/reader.py @@ -51,6 +51,12 @@ class EXTHHeader(object): self.cover_offset = co elif id == 202: self.thumbnail_offset, = struct.unpack('>L', content) + elif id == 501: + # cdetype + pass + elif id == 502: + # last update time + pass elif id == 503 and (not title or title == _('Unknown')): title = content #else: @@ -79,8 +85,8 @@ class EXTHHeader(object): content, '%Y-%m-%d',).date() except: pass - else: - print 'unhandled metadata record', id, repr(content) + #else: + # print 'unhandled metadata record', id, repr(content) class BookHeader(object):