View Single Post
Old 04-18-2010, 07:41 PM   #3
citac
Fanatic
citac ought to be getting tired of karma fortunes by now.citac ought to be getting tired of karma fortunes by now.citac ought to be getting tired of karma fortunes by now.citac ought to be getting tired of karma fortunes by now.citac ought to be getting tired of karma fortunes by now.citac ought to be getting tired of karma fortunes by now.citac ought to be getting tired of karma fortunes by now.citac ought to be getting tired of karma fortunes by now.citac ought to be getting tired of karma fortunes by now.citac ought to be getting tired of karma fortunes by now.citac ought to be getting tired of karma fortunes by now.
 
Posts: 556
Karma: 1020204
Join Date: Sep 2008
Location: Bosnia and Herzegovina
Device: Lenovo Yoga Tab 2 (Android)
Quote:
Originally Posted by Starson17 View Post
Click Preferences
Click Add/Save
Put this:
Code:
(?P<series>.+) - (?P<series_index>\d+) - (?P<title>.*)
into the box that says "Regular expression."
Then drag your books in to the main window.
Hi,

thank you for the suggestion, I tried that but it doesn't recognize the series now. When I opened the Preferences dialog, I found this:

(?P<title>.+) - (?P<author>[^_]+)

I replaced it with this:

(?P<series>.+) - (?P<title>[^_]+)

I'm using the portable version found on the PortableApps website, if that makes a difference.

How would I need to name a file for cases where I'd like to see the series index and author names, for book where I want that distinction? Also, is there a way to minimize the number of folders/subfolders I get in the "Saving books" dialog?

ETA I did some poking around, and discovered that

(?P<series>[^_]+) (?P<series_index>[0-9]+) - (?P<title>.+) - (?P<author>[^_]+)

seems to work but only if I choose to have Calibre use file names as it's source of metadata. What will happen if I import a book which has metadata in the file? Will it be ignored? Also, can I have a different scheme for files named in a different way? I have some files where author is listed first; will the file be read in the correct way?

Last edited by citac; 04-18-2010 at 11:27 PM.
citac is offline   Reply With Quote