Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 08-31-2014, 01:43 PM   #1
thepauler
Junior Member
thepauler knows what is on the back of the AURYN.thepauler knows what is on the back of the AURYN.thepauler knows what is on the back of the AURYN.thepauler knows what is on the back of the AURYN.thepauler knows what is on the back of the AURYN.thepauler knows what is on the back of the AURYN.thepauler knows what is on the back of the AURYN.thepauler knows what is on the back of the AURYN.thepauler knows what is on the back of the AURYN.thepauler knows what is on the back of the AURYN.thepauler knows what is on the back of the AURYN.
 
Posts: 9
Karma: 9642
Join Date: Sep 2009
Device: iPad Min
Adding with Regex

I need to add a couple of thousand books to my library. The file names are structured like this:

Series-123 Title of Book (Author Name) 1989.txt

I created the following regex to manage the import and it tests out perfectly.


Code:
^(?P<series>.+)-(?P<series_index>\d{1,4}) (?P<title>.+)\((?P<author>.+)\) (?P<published>\d{4})


Once the book imports everything is right except the title, which is simply the file name minus the extension. While I can fix these with a regex on search and replace, I would like to avoid the extra step. Am I missing something in the preferences?

Any help would be much appreciated!

Last edited by thepauler; 08-31-2014 at 01:45 PM.
thepauler is offline   Reply With Quote
Old 08-31-2014, 01:53 PM   #2
BookJunkieLI
Evangelist
BookJunkieLI ought to be getting tired of karma fortunes by now.BookJunkieLI ought to be getting tired of karma fortunes by now.BookJunkieLI ought to be getting tired of karma fortunes by now.BookJunkieLI ought to be getting tired of karma fortunes by now.BookJunkieLI ought to be getting tired of karma fortunes by now.BookJunkieLI ought to be getting tired of karma fortunes by now.BookJunkieLI ought to be getting tired of karma fortunes by now.BookJunkieLI ought to be getting tired of karma fortunes by now.BookJunkieLI ought to be getting tired of karma fortunes by now.BookJunkieLI ought to be getting tired of karma fortunes by now.BookJunkieLI ought to be getting tired of karma fortunes by now.
 
BookJunkieLI's Avatar
 
Posts: 435
Karma: 572984
Join Date: Jan 2010
Location: Long Island
Device: Kobo Libra 2, Kindle 4, Nook Gl4, Nook STR, REB 1100, Ebookwise 1500,
Under Preferences=>Adding Books the very first check box is Read Metadata from file contents rather than file name. Make sure this is unchecked otherwise it uses the file name as the title since it didn't find any metadata in the file itself.
BookJunkieLI is offline   Reply With Quote
Advert
Old 08-31-2014, 02:25 PM   #3
thepauler
Junior Member
thepauler knows what is on the back of the AURYN.thepauler knows what is on the back of the AURYN.thepauler knows what is on the back of the AURYN.thepauler knows what is on the back of the AURYN.thepauler knows what is on the back of the AURYN.thepauler knows what is on the back of the AURYN.thepauler knows what is on the back of the AURYN.thepauler knows what is on the back of the AURYN.thepauler knows what is on the back of the AURYN.thepauler knows what is on the back of the AURYN.thepauler knows what is on the back of the AURYN.
 
Posts: 9
Karma: 9642
Join Date: Sep 2009
Device: iPad Min
That was it.

Thank you!!
thepauler is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help with regex for adding ebooks myusernameis Calibre 2 02-14-2014 07:01 AM
Need help with a regex mobiuser Workshop 15 01-19-2014 05:57 PM
Adding books - regex help tonyx3 Library Management 1 03-13-2013 08:21 AM
Help me with regex please. eVrajka Library Management 5 08-15-2011 12:17 PM
A little help adding books and using regex. Dragonator Calibre 7 12-17-2010 06:57 PM


All times are GMT -4. The time now is 10:54 AM.


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