07-04-2013, 11:29 PM | #1 |
Junior Member
Posts: 1
Karma: 10
Join Date: Jul 2013
Device: ipad
|
adding book : series is part of the whole title
Hi,
I tried to import books and extract details from filename. The problem is that I want to extract part of the title as serie and index but without to delete this part from title. Anyone know how to do this and if it's possible ? So to better explain here is the example of what I want : filename : Soda - 12 - Code apocalypse title : Soda - 12 - Code apocalypse serie : Soda index : 12 My curret regex is : (?P<series>.*) - [A-Z]?(?P<series_index>[^_]+) - (?P<title>[^_]+) But the problem with that is that my title is : Code apocalypse. |
07-05-2013, 12:23 AM | #2 |
Grand Sorcerer
Posts: 12,167
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
The standard feeling is that the series info does not belong within the title in calibre; rather in the series and series_index columns.
Of course, when sending to a device it is common to use a metadata plugboard to reintroduce the series info to the title as seen on the device. |
Advert | |
|
07-15-2013, 04:56 AM | #3 |
Fanatic
Posts: 515
Karma: 1470724
Join Date: Jul 2013
Location: Quebec CA
Device: android 4 (samsung tablet and asus tablet)
|
I have a library of about 10,000 ebooks some of them from the 90's lol.
The metadata is horrid, but the title contains the series, title and author name. I would like to transfer my entire library to calibre BUT it is too daunting to have to correct so many books. I would like to be able to parse the filenames into the various fields but have no idea where to start. Any suggestions? |
07-15-2013, 05:23 AM | #4 | |
null operator (he/him)
Posts: 20,569
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Do read the tutorial on Regular Expressions - there are a couple of example expressions in the the Regular Expression field - click the down chevron. Test out on a few books first and spend some time getting to know calibre I would add books in batches - I'd start with say 200, see how that goes. Make any adjustments you think worth doing, add another 200, if they are A-OK then add batches of 500. And between each batch backup the library. BR psst : I think its better to start your own threads rather jump on the end of another thread. Last edited by BetterRed; 07-15-2013 at 05:26 AM. |
|
07-19-2013, 12:52 AM | #5 |
Fanatic
Posts: 515
Karma: 1470724
Join Date: Jul 2013
Location: Quebec CA
Device: android 4 (samsung tablet and asus tablet)
|
Thank you, I now have the beginnings of a file of sort order parse strings for the various ways my books are named.
I have also found that the adding is less frustrating now that I created a "temp library" with a field "toadd" I gave up on bulk adds, and find adding by author much less frustrating. Thanks again for taking the time to respond |
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Plugboard "Metadata: Show series [series index] - title as title (Kindle)" | Deep Cover | Library Management | 6 | 11-30-2012 05:17 PM |
adding series information to a book title - a quick question | BeccaPrice | Calibre | 6 | 06-21-2012 05:33 PM |
Duplicate book title notification on adding books | jukin | Calibre | 2 | 06-16-2012 11:15 AM |
Calibre keeps adding authors name in book title =( | gargoyle67 | Calibre | 7 | 03-22-2012 10:44 PM |
Adding Series and Number to Title. | Cerepol | Calibre | 17 | 09-01-2010 06:50 PM |