View Single Post
Old 07-24-2015, 06:20 PM   #2
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
I assume the embedded metadata is not correct?

Preferences ==> Adding books
Uncheck "Read metadata from file contents rather than file name"

Second half of the screen, "Configure metadata from file name", will allow you to use a regular expression to match the metadata.

The default is:
Code:
(?P<title>.+) - (?P<author>[^_]+)
You probably want:
Code:
(?P<author_sort>[^_]+) - (?P<title>.+)
EDIT: Arghhhh! Doesn't look like it recognizes "author_sort"...

You may just have to rename the files using a bulk file renamer to swap the "LN, FN" to "FN LN".
Or use the Quality Check plugin to set the author from the author_sort, after importing.

Either way, use the regex:
Code:
(?P<author>[^_]+) - (?P<title>.+)

Last edited by eschwartz; 07-24-2015 at 06:25 PM.
eschwartz is offline   Reply With Quote