01-20-2010, 08:07 PM | #1 |
Junior Member
Posts: 4
Karma: 10
Join Date: Jan 2010
Device: none
|
regular expression - importing vs testing
My books are on my hard drive in the format:
Author - Series - Title I would like to import them into calibre like: author = Author title = Series - Title in v0.6.34, in preferences.add/save, i have changed the regular expression to: (?P<author>[^-]+) - (?P<title>.+) i test it with my file names, and it works as intended. so i go back to add books, on the main menus, and choose my directory. all the books import like: author = Author title = Title i would expect the import engine to produce the same results as the test button did. have i done this correctly? thanks |
01-20-2010, 10:54 PM | #2 |
creator of calibre
Posts: 44,356
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You have to check the option to read metadata from filesnames and not theinternal metadata in the file
|
Advert | |
|
01-22-2010, 09:43 AM | #3 |
Junior Member
Posts: 3
Karma: 10
Join Date: Jan 2010
Location: Hamburg, GE
Device: prs-505
|
Hi kovidgoyal,
I have to import a huge library with almost all books in pdf format. I'm looking for best way now. If this option is on (read metadata from filesnames) then I am not getting covers from pdfs. But it looks very nice with covers therefore I wish to import covers too. Is there only one way - to update somehow in batch metadata of books and when to import in calibre? |
01-22-2010, 09:48 AM | #4 |
creator of calibre
Posts: 44,356
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
There is a batch metadata edit dialog (click the arrow next to the edit meta information button)
|
01-22-2010, 01:18 PM | #5 |
Junior Member
Posts: 3
Karma: 10
Join Date: Jan 2010
Location: Hamburg, GE
Device: prs-505
|
It can't help me really because means much renames of title per book.
Many books don't have metadata, other - only field "title" with content "author - title", some books - instead of title and author - just a trash as for example "unknown". So after import I have more as 70% books with wrong author/title. |
Advert | |
|
02-09-2010, 03:02 PM | #6 |
Junior Member
Posts: 3
Karma: 10
Join Date: Jan 2010
Location: Hamburg, GE
Device: prs-505
|
Hi kovidgoyal,
Is it right that I wrote before - I'll get covers only with option OFF - "read metadata only from file name" ? Would it possible to do the getting of covers separately from metadata? As separate option may be? Brgds |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Regular Expression Help | Azhad | Calibre | 86 | 09-27-2011 02:37 PM |
Regular Expression Help | smartmart | Calibre | 5 | 10-17-2010 05:19 AM |
Helping importing books using regular expression | askyn | Calibre | 4 | 05-08-2010 01:06 AM |
Help with the regular expression | Dysonco | Calibre | 9 | 03-22-2010 10:45 PM |
I don't know how to use wilcards and regular expression.... | superanima | Sigil | 4 | 02-21-2010 09:42 AM |