I'm working on some automated import tooling to copy books from Digital Editions to Calibre, and in the course of that, I found two books (out of ~1100 in my library) that have NO title metadata in the original epub. As an example:
Code:
$ exiftool epub/import/The_Rubaiyat_of_Omar_Khayyam.epub
ExifTool Version Number : 10.55
File Name : The_Rubaiyat_of_Omar_Khayyam.epub
Directory : epub/import
File Size : 1116 kB
File Modification Date/Time : 2017:05:06 06:48:13-04:00
File Access Date/Time : 2017:12:18 14:59:11-05:00
File Inode Change Date/Time : 2017:05:06 07:08:23-04:00
File Permissions : rw-r--r--
File Type : EPUB
File Type Extension : epub
MIME Type : application/zip
Zip Required Version : 10
Zip Bit Flag : 0
Zip Compression : None
Zip Modify Date : 2008:04:24 02:30:07
Zip CRC : 0x00000000
Zip Compressed Size : 0
Zip Uncompressed Size : 0
Zip File Name : khayyam-rubaiyat-00-h-dir/
Does anyone know how Calibre determines the title for these files? Is it just based on the file name?
Thanks!
Dan