Can't set publish date from filename on import
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I set up file names and a regular expression to import author, publication year, title, and a comment. Here is a typical file name:
NSA@1976@Oral History rowlett <email address hidden>
After a couple hours of fiddling around I got this regular expression:
(?P<author>
I tested it in the "Configure metadata with file name" area of the "Adding Books" page. All 4 fields were properly filled in. The publication year was transformed into a yyyy-mm-dd format, choosing Oct 15 for the day of year. I didn't mind.
Following the import, however, I found that only the title, author, and comment fields had been filled in. The publication date was set to today as a default value.
I'm using Calibre 2.31, with 3712 books in my library. It's running on Mac OS X Yosemite, 10.10.5
Works for me, with that add expression and an empty pdf file with that
name. Make sure you have "Read metadata from file contents rather than
file name" unchecked in Prefrences->Adding Books.
status invalid