![]() |
#1 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Nov 2011
Device: Samsung Galaxy S2
|
Adding books, conditional file name matching
I'm new to this forum, pardon me if this is covered somewhere but I couldn't find it. I've fumbled out how to do most of the things I want to with Calibre but I'm stumped on adding books where some have a series and others don't. I have an re that correctly parses each one but can't come up with one that will correctly parse both.
Example file names: Alisa Sheckley - Abra Barrow 2 - Moonburn.epub Alice Sebold - Lovely Bones, The.epub Obviously I want the first parsed as <author> <series> <series_index> <title> and the second as <author> <title> with NULL <series> and <series_index>. I will greatly appreciate any help. Thank you, Wayne Davis |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,812
Karma: 26912940
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
|
Can't actually help(oh I am afraid.
I used to change expressions on the fly and gave up on it as it was a pain. Now I just add the books and use the download metadata function to correct them. 9 times out of 10 it works for me. Helen |
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Adding books and file operations | paulfiera | Calibre | 4 | 12-17-2011 09:23 AM |
adding a CSS to a file | BeccaPrice | Calibre | 8 | 09-18-2011 03:52 PM |
Send to device with conditional directories | Doug-W | Devices | 8 | 03-06-2011 10:35 AM |
Conditional CSS rules | Jellby | ePub | 10 | 01-20-2009 08:32 AM |
Trouble adding PDF file | kmsulli | Sony Reader | 1 | 02-20-2007 10:26 PM |