Commit Graph

14 Commits (faa0e9c7e36c851807f6860fad9294059913c8e2)

Author SHA1 Message Date
Ethan Dalool faa0e9c7e3 Bail early if rename_map is empty. 2019-08-18 22:39:41 -07:00
Ethan Dalool 34ce1bac56 Don't add unchanged paths to the rename_map. 2019-08-18 22:39:02 -07:00
Ethan Dalool 87f1de1dc5 In move_nav_to_end, add nav to spine if not present. 2019-08-18 22:38:40 -07:00
Ethan Dalool 0004b53032 Fix holdit command undoing manual opf changes. 2019-08-18 22:38:05 -07:00
Ethan Dalool cf08ce3570 Let covercomesfirst and normalize take many books via glob. 2019-08-18 19:55:41 -07:00
Ethan Dalool 7b4f4cdb1f Use font/ mimes instead of application/font- 2019-08-18 19:55:05 -07:00
Ethan Dalool a9102cf877 Add the holdit command. 2019-08-18 19:53:54 -07:00
Ethan Dalool d77dcacc21 Initial commandline utilities. 2019-08-06 23:49:47 -07:00
Ethan Dalool 89420ff5d7 Add some simple getters for authors, languages, and titles. 2019-08-06 23:39:39 -07:00
Ethan Dalool 0364b87cf3 When normalizing, OEBPS exist_ok=True.
I hadn't considered that the content.opf would be in the root when
there is an OEBPS dir present. There's a whole weird world out there.
2019-08-06 23:38:56 -07:00
Ethan Dalool 29eea3855c Add method assert_id_not_exists for pre-creation checks.
At the moment it's only used once but it looks nice to have it
paired with the other assert also used in the add_file method.
2019-08-06 23:37:14 -07:00
Ethan Dalool 5ba482753c Add .htm to the mimetype fixer dict. 2019-08-06 23:36:13 -07:00
Ethan Dalool 54ae615730 Set default book language to be undetermined (und).
Per rfc5646, omitting is preferred where permitted, but in Epub
that's not permitted!
2019-08-05 17:54:37 -07:00
Ethan Dalool 58c3de6c5d Initial commit. 2019-08-03 22:13:27 -07:00