View Single Post
Old 09-04-2020, 06:38 AM   #7
irmar
Member
irmar began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Nov 2010
Location: Athens, Greece
Device: Pocketbook plus 360
This doesn't work for me.
The way I like filenames is Author - Title.
So, instead of the standard expression for extracting metadata which is
(?P<title>.+) - (?P<author>[^_]+)
I put:
(?P<author>[^_]+) - (?P<title>.+)

As a test, I put "Homer - The Iliad.epub"
and Calibre said that
Title: The
Authors: Homer

then I tried "Mark Twain - Tom Sawyer.epub"
and Calibre again interpreted it as the title being "Tom"
So it seems that it doesn't recognize more than one word as the title.

Last edited by irmar; 09-04-2020 at 07:16 AM.
irmar is offline   Reply With Quote