![]() |
#1 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Aug 2010
Device: nook
|
metadata interfering with title
Hi all,
I have just started taming my ebook collection, and after adding many many books to calibre, i am now going over all the books and manually fixing those with no metadata. Generally its a speller/missing apostrophe causing it but sometimes it can be more stubborn. First thing: When i get it to fetch metadata (often after giving it a isbn) it will change the title to include the series in brackets or following a colon. Is there any way to either prevent this or go through all entries and then remove the extra bit? I find the easiest way to get all data on a book is to google (or amazon/isbndb) the isbn and then let calibre run with that to get all the info on the book. To emphasise - this is for books that calibre wouldn't do natively based on bad title/author/something. Thanks! |
![]() |
![]() |
![]() |
#2 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,890
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Go to Preferences - Behavior and Uncheck Overwrite author and title, see attached.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Aug 2010
Device: nook
|
Thanks, did the trick.
Any ideas on the other two things (fixing already changed titles, isbn lookup from title, not opposite)? |
![]() |
![]() |
![]() |
#4 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,890
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Now I'm confused. You mean besides manually editing the title in the edit metadata window or double clicking in the library list and changing the Title?
I always use download metadata to get the isbn, rarely the other way around. If the ISBN you have doesn't retrieve the correct title, remove any ISBN in the edit metadata and fetch metadata based on title and author. Then select the returned metadata entry that suits you or your book. See attached. Last edited by DoctorOhh; 09-27-2010 at 04:31 AM. |
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Aug 2010
Device: nook
|
Re the first point, i had already mangled quite a few names by doing a mass ctrl-d on my books. So i was wondering if there is the ability to fix this by playing with the raw data, or by some regex option to play with the fields.
Guess not. Although if you know where the database is stored (if it is in an accessible form) i may try and play with it like that. As to point two, i have quite a few books that wont find metadata, and i hadn't really paid attention to the fact that they only now pick up the one book to update to because of the dodgy isbn that the first update gave them. So yes - if i delete it it inevitable gives me more options, and while a slow painful process, it gets there. Thanks for the help. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,890
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
If you select multiple books then go to the bulk edit metadata window there is a tab that allows for regex search and replace (use at your own risk). I'm not sure how this would help you but it is available and I thought I would point it out.
|
![]() |
![]() |
![]() |
#7 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Aug 2010
Device: nook
|
That looks promising. I was thinking of removing anything post colon or in brackets...
I'll let you know if it works. |
![]() |
![]() |
![]() |
#8 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Aug 2010
Device: nook
|
I've found that these will work:
\(.+?\) - anything in brackets (:+.+) - anything after : Is there anyway to combine them (and make them safer - to any regex guys out there)? |
![]() |
![]() |
![]() |
#9 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
There's an introduction into regular expressions that might help you.
|
![]() |
![]() |
![]() |
#10 | |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Aug 2010
Device: nook
|
Quote:
Thanks |
|
![]() |
![]() |
![]() |
#11 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
|
![]() |
![]() |
![]() |
#12 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Aug 2010
Device: nook
|
I was referring to sites like
http://rejex.heroku.com/ http://gskinner.com/RegExr/ which let you play around and see the results. |
![]() |
![]() |
![]() |
#13 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
I see. I didn't include such sites on purpose, as Calibre has excellent testing facilities in all places that regexpes are used.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Metadata in Title/filename | mezme | Calibre | 0 | 08-18-2010 03:08 AM |
Old title appearing in metadata | Lexi Revellian | Workshop | 1 | 08-05-2010 08:52 AM |
PDF Filenames vs Metadata Title | clintbradford | Calibre | 0 | 07-12-2010 11:50 PM |
Save template for title metadata? | Bob Butler | Calibre | 10 | 03-15-2010 01:05 PM |
Metadata extract from Title | 507Tuli | Calibre | 14 | 05-29-2009 03:13 AM |