From ea325148eacf47acc7d15e1bd6ad39ffa49ab1c4 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 14 Sep 2011 14:29:22 -0600 Subject: [PATCH] ... --- src/calibre/ebooks/mobi/writer2/main.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/calibre/ebooks/mobi/writer2/main.py b/src/calibre/ebooks/mobi/writer2/main.py index 2d1f0536ea..1cda1b14dd 100644 --- a/src/calibre/ebooks/mobi/writer2/main.py +++ b/src/calibre/ebooks/mobi/writer2/main.py @@ -353,7 +353,11 @@ class MobiWriter(object): bt = 0x002 if self.primary_index_record_idx is not None: - if self.indexer.is_periodical: + if False and self.indexer.is_flat_periodical: + # Disabled as setting this to 0x102 causes the Kindle to not + # auto archive the issues + bt = 0x102 + elif self.indexer.is_periodical: # If you change this, remember to change the cdetype in the EXTH # header as well bt = {'newspaper':0x101}.get(self.publication_type, 0x103)