View Single Post
Old 02-22-2023, 11:18 PM   #2
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,749
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by modified View Post
Hi all

First off, I already have the option "Read metadata from file contents rather than file name" checked in Preferences > Adding Books.

But if the book filename fits the format "YYYYYY - ZZZ", the calibre adds the book with "ZZZ" as the author.

The book in question is a magazine epub and does not have an author in the metadata. It does have a publisher name, and calibre picks that up correctly along with the other metadata in the book file.

Any help with this will be much appreciated.
Try setting the Add books->Reading metadata regex setting to: (?P<title>.+)

BR
BetterRed is offline   Reply With Quote