09-21-2010, 03:15 PM | #1 |
Junior Member
Posts: 2
Karma: 10
Join Date: Sep 2007
Device: Sony PRS-500
|
Adding Books and Sort Order
I'm having some difficulty with Calibre.
I'm running version 0.7.19 on Windows XP SP3. The first issue I'm having is importing existing files into Calibre. Most of my books are organized thus: Author Last Name, Author First Name - Series and Number - Title Cook, Dawn - Truth 01 - First Truth The rest of the books are: Author Last Name, Author First Name - Title Bear, Elizabeth - Undertow I need a way for Calibre to add books from both formats without my having to mess with the add books metadata pattern every time I switch between formats. Also, when I add the books without the series in the filename (Because I haven't figured out the RegEX for adding Series to the input filter) the sort is wacky. It seems to sort some of the files but others just end up in random places in the list. I've attached a screenshot so you can see what I'm talking about. Any help with either problem would be greatly appreciated, I'm a RegEx noob and I'm very confused. EDITED TO ADD: I got the filter working for series, but the "Test" button is completely non functional in the preferences for Add Books, the pattern works in practice but not when pasting the filename into the Test box. Last edited by hereticorp; 09-21-2010 at 04:34 PM. |
09-21-2010, 05:50 PM | #2 | |
Wizard
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
Quote:
|
|
Advert | |
|
09-21-2010, 06:18 PM | #3 | |||
Enthusiast
Posts: 31
Karma: 12
Join Date: Mar 2010
Device: Kindle 2, Kindle 3
|
Quote:
Code:
(?P<author>((?!\s-\s).)+)\s-\s(?:(?P<series>.+)\s(?P<series_index>\d+)\s-\s)?(?P<title>.+) Quote:
Quote:
Bear, Elizabeth - Undertow.epub (for example) (non-intuitive, but required ) |
|||
09-21-2010, 06:18 PM | #4 |
Guru
Posts: 657
Karma: 64171
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300, Kobo Aura HD, iPad (Marvin)
|
For the test, make sure that the filename also has an extension (.epub|.pdf|.prc etc.)
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Old thread] Book Sort Order Messed Up | russdyer | Calibre | 19 | 05-17-2011 07:57 AM |
Sort order changes on transfer to device | Zipr | Calibre | 2 | 09-17-2010 11:45 AM |
Sort Order strangeness | jflatto | Calibre | 2 | 07-11-2010 11:38 AM |
[Old Thread] Incorrect title sort order | SkyDream | Calibre | 12 | 07-07-2010 03:03 AM |
Using "Series/VolumeNo" in EPUB to ensure sort order on reader | craigmckay | Calibre | 7 | 01-18-2010 04:48 PM |