Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 03-02-2019, 09:43 PM   #1
excaliber
Connoisseur
excaliber began at the beginning.
 
excaliber's Avatar
 
Posts: 59
Karma: 10
Join Date: Nov 2013
Device: Samsung Galaxy Tab 2 10.1 P5110
Extracting correct metadata after books are added

Hi all,

I've seen the option to use regex when adding books into Calibre to extract some metadata correctly. But how can I correct the metadata when the books are already added in Calibre? Is there a way to extract the correct title and the correct authors from the Title field?

Thanks!
excaliber is offline   Reply With Quote
Old 03-02-2019, 10:17 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,056
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Add books has 2 basic ways to choose from: (only one can be used at a time)
From filename (uses the template provided)
Read from the books metadata

Assuming you used the filename and now want to get from the book instead (This assumes that you have NOT done one of the things to update the stored book, like Polish, edit,modify epub...)

In the MDE (metadata Editor), window: select the format on the right: click the brown book icon:
if it was better: Click OK
If it was way worse: Cancel

OR
Manually fix
Or
Download
theducks is offline   Reply With Quote
Advert
Old 03-03-2019, 05:52 AM   #3
excaliber
Connoisseur
excaliber began at the beginning.
 
excaliber's Avatar
 
Posts: 59
Karma: 10
Join Date: Nov 2013
Device: Samsung Galaxy Tab 2 10.1 P5110
@theducks: Thanks for the quick response!
Yes, but that doesn't really help in my situation. I have many books where the authors, title and some times date published are in the Title field. So, I was wondering if there is some way to extract them and put them into the right fields. Is there maybe a plugin capable of doing such manipulations? I couldn't find any.
excaliber is offline   Reply With Quote
Old 03-03-2019, 06:40 AM   #4
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by excaliber View Post
I have many books where the authors, title and some times date published are in the Title field. So, I was wondering if there is some way to extract them and put them into the right fields. Is there maybe a plugin capable of doing such manipulations? I couldn't find any.
You should be able do what you want with Bulk Metadata Edit Search and Replace (select many books and press 'E'). Please heed the warning:

Quote:
You can destroy your library using this feature. Changes are permanent. There is no undo function. You are strongly encouraged to back up your library before proceeding.
BR
BetterRed is offline   Reply With Quote
Old 03-03-2019, 06:04 PM   #5
excaliber
Connoisseur
excaliber began at the beginning.
 
excaliber's Avatar
 
Posts: 59
Karma: 10
Join Date: Nov 2013
Device: Samsung Galaxy Tab 2 10.1 P5110
@BetterRed: Thanks that did help!

I could extract the authors from the title field like this:
Search field: title
Search For: -[a-zA-Z0-9()\s]*
Replace with: (empty)
Destination field: authors
Search mode: Regular expression
Mode: Replace Field
Split results: (yes)


For the Publication Date I used this:
Search field: title
Search For: [a-zA-Z()\s,-]*\s*
Replace with: (empty)
Destination field: pubdate
Search mode: Regular expression
Mode: Replace Field
Split results: (no)


but it worked well only if there were no other numbers in the title field.

Keeping only the right title was also complicated and didn't go well either.
excaliber is offline   Reply With Quote
Advert
Old 03-03-2019, 11:23 PM   #6
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by excaliber View Post
@BetterRed: Thanks that did help!

I could extract the authors from the title field like this:

<snip>

it worked well only if there were no other numbers in the title field.

Keeping only the right title was also complicated and didn't go well either.
You did pretty well for a 'first-timer'

I prefer to get it sorted before I add the books. Then I can use a different techniques & tools to wrangle file names into patterns that conform to a specific templates. And it means I can isolate edge cases for individual editing once they're in calibre

BR
BetterRed is offline   Reply With Quote
Old 03-04-2019, 03:47 AM   #7
excaliber
Connoisseur
excaliber began at the beginning.
 
excaliber's Avatar
 
Posts: 59
Karma: 10
Join Date: Nov 2013
Device: Samsung Galaxy Tab 2 10.1 P5110
@BetterRed: Thanks!

Yes, I think I should do the same...
excaliber is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Extracting author's name for books crich70 Calibre 1 05-14-2014 09:10 AM
Metadata download when many books have correct title - but wrong author name jer989 Library Management 2 04-17-2012 03:35 PM
Extracting metadata from Calibre twibbs Calibre 1 09-13-2011 10:16 AM
Metadata correct in Calibre, but not on Kindle spygrl Calibre 17 09-17-2010 02:29 AM
Mobi to Kindle with correct metadata? rex0810 Calibre 3 09-25-2009 05:36 PM


All times are GMT -4. The time now is 05:15 PM.


MobileRead.com is a privately owned, operated and funded community.