View Single Post
Old 01-15-2014, 10:58 AM   #4
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 21,020
Karma: 20776314
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: K4NT, Galaxy Tab 2(RIP)
Quote:
Originally Posted by anandkarthikeyan View Post
Thanks a lot. This I somewhat understand, but what I have no clue about is the syantax in Calibre. If
Code:
(?P<title>.+) - (?P<author>[^_]+)
can read a file named like "t_i_t_l_e - firstname_lastname.format" correctly, what would work on the filenames I mentioned? Can you explain that to me? I am totally new to this and have no coidng knowledge. Thanks.
IMHO,
sometimes it is easier to do a 'post-import' correction of things (the names) using the Search and Replace tools of the Bulk metadata editoe, where you are only working on ONE (source) field at a time.

In the example, you import the grungy Title as is. with the Author cleaned to :Firstname Lastname, and drop the ' - ' as part of the process (per your example)

BTW If the format contains good metadata, forget the 'Read from filename', Calibre WILL extract the existing metadata during an ADD if you DON'T use that setting.
theducks is offline   Reply With Quote