Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 05-30-2011, 02:58 PM   #1
JubileeBurger
Junior Member
JubileeBurger began at the beginning.
 
Posts: 1
Karma: 10
Join Date: May 2011
Device: iPhone (Stanza)
"Configure metadata from file name" help!


Sorry for what is probably is a pretty newbie question, but I having a very hard time with the "Configure metadata from file name" function. I read through the tutorial, and I think I understand most of it, but nothing I try produces any even slightly good results. If someone could just tell me what my expression pattern should be, I'd be very grateful.

All my files are named in this format:
"author" - "series" "number in series" - "title"
or
"author" - "title"

depending on whether the book is part of a series or not. If both those can be combined into one expression, that would be awesome, but if not I can work with two different expressions. I couldn't get it to work either way.

One of the default options available
(?P<author>[^_-]+) -?\s*(?P<series>[^_0-9-]*)(?P<series_index>[0-9]*)\s*-\s*(?P<title>[^_].+) ?
seemed like it would work, at least for the books in series, but I had no luck with that one either.

Any help would be greatly appreciated!

Edit: Oh my God, apparently you're supposed to enter the file extension in the test field, and that's why my tests weren't working. I feel like an idiot :P
I'll jest test it out a bit more just to make sure I don't have any more problems with it.

Last edited by JubileeBurger; 05-30-2011 at 03:05 PM.
JubileeBurger is offline   Reply With Quote
Old 05-31-2011, 04:41 PM   #2
mezme
Connoisseur
mezme began at the beginning.
 
Posts: 58
Karma: 10
Join Date: Dec 2009
Device: PRS700
The one I use works for:
author - title
author - series - title
author - series series_index - title
author - [series series_index] - title

The series_index can be a whole number like 2 or a decimal like 2.5

(?P<author>[^_-]+) -?\s*\[?(?P<series>[^_0-9-]*)(?P<series_index>[0-9.]*)\]?\s*-\s*(?P<title>[^_].+) ?
mezme is offline   Reply With Quote
Advert
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with "Guessing metadata from file names" Justy Library Management 22 08-15-2011 06:13 AM
File names with "(" and ")" can cause screen freezes greenapple Ectaco jetBook 5 02-04-2010 08:25 PM
Get "Tag" metadata from file name dosyoyas Calibre 2 01-13-2010 01:09 PM
Help! the "Make Sony Reader File" under "Options" is different Dr. Drib Sony Reader 6 04-23-2007 02:56 AM


All times are GMT -4. The time now is 09:33 PM.


MobileRead.com is a privately owned, operated and funded community.