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 11-16-2017, 12:47 PM   #1
gteague
Zealot
gteague shares his or her toysgteague shares his or her toysgteague shares his or her toysgteague shares his or her toysgteague shares his or her toysgteague shares his or her toysgteague shares his or her toysgteague shares his or her toysgteague shares his or her toysgteague shares his or her toysgteague shares his or her toys
 
gteague's Avatar
 
Posts: 104
Karma: 5658
Join Date: Nov 2007
Location: dfw
Device: kindle v1.0
replace calibre metadata with epub or mobi metadata

long ago when first using calibre i thought it would be more efficient if i put the series # into the title, e.g., 'reacher 01: killing floor'. this sorta worked ok and seemed to be less work than unscrambling what series a book was. considering that my kindle wouldn't pick up the series #, it was for sure the easiest way to order book series for the kindle.

but with the arrival of a new oasis capable of actually holding my calibre library i've embarked upon a massive clean up and somewhere along the way all of my previous calibre metadata got lost--likely many years ago after a system corruption or crash. so i'm going book-by-book downloading a new copy of metadata. i'd like to bulk download about 100 books at a time, but my oh-so-clever titles keep the engine from finding a title match--i've outsmarted myself.

what i'd like to do is go back to ground zero and copy the original epub or mobi metadata to overwrite any existing calibre meatadata, then i could go back to downloading new metadata in bulk once i have the correct titles.

i've searched, but i can't find an easy way to form search terms for this and have come up dry. is this possible? if so, can someone post a link to what i need to do?

thanks, /guy
gteague is offline   Reply With Quote
Old 11-16-2017, 02:58 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: 29,800
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Calibre Bulk mode (more than 1 book selected) Edit
Tick the box "Set Metadata from files": OK

Note this may no longer work IF you have embedded the metadata using one of the tools availabe
theducks is offline   Reply With Quote
Advert
Old 11-16-2017, 03:13 PM   #3
gteague
Zealot
gteague shares his or her toysgteague shares his or her toysgteague shares his or her toysgteague shares his or her toysgteague shares his or her toysgteague shares his or her toysgteague shares his or her toysgteague shares his or her toysgteague shares his or her toysgteague shares his or her toysgteague shares his or her toys
 
gteague's Avatar
 
Posts: 104
Karma: 5658
Join Date: Nov 2007
Location: dfw
Device: kindle v1.0
at first glance, it doesn't look like it's working for me. i selected 10 files and applied the 'set metadata from files' but when i pulled up the md editor and refreshed it using the epub format, it was different and when i refreshed using mobi it was different from the bulk operation and the epub.

perhaps this means it takes the info from a special file in the book folder? ?opf? and if i ever had any of those, they are long gone. bottom line is that this was well worth trying, but it didn't restore the original titles.

thanks! /guy
gteague is offline   Reply With Quote
Old 11-16-2017, 03:24 PM   #4
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: 29,800
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by gteague View Post
at first glance, it doesn't look like it's working for me. i selected 10 files and applied the 'set metadata from files' but when i pulled up the md editor and refreshed it using the epub format, it was different and when i refreshed using mobi it was different from the bulk operation and the epub.

perhaps this means it takes the info from a special file in the book folder? ?opf? and if i ever had any of those, they are long gone. bottom line is that this was well worth trying, but it didn't restore the original titles.

thanks! /guy
The OPF is what you see NOW. It is the backup for the DB entry.
Yes, there is a flaw in my thinking if multiple formats are available. I don't know which prevails in bulk mode
theducks is offline   Reply With Quote
Old 11-16-2017, 03:26 PM   #5
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: 20,568
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by gteague View Post
perhaps this means it takes the info from a special file in the book folder? ?opf? and if i ever had any of those, they are long gone.
How come they are 'long gone'?

BR
BetterRed is offline   Reply With Quote
Advert
Old 11-16-2017, 04:15 PM   #6
gteague
Zealot
gteague shares his or her toysgteague shares his or her toysgteague shares his or her toysgteague shares his or her toysgteague shares his or her toysgteague shares his or her toysgteague shares his or her toysgteague shares his or her toysgteague shares his or her toysgteague shares his or her toysgteague shares his or her toys
 
gteague's Avatar
 
Posts: 104
Karma: 5658
Join Date: Nov 2007
Location: dfw
Device: kindle v1.0
operator error is always the most likely cause of such things. when i first got calibre years ago i set it up to process ebooks for my kindle. i would add small batches of books and always tediously enter metadata which is when i glommed onto the title modifications which are now causing me headaches. and back then i didn't even connect the kindle as i had another brain fart scheme to add each book from caliber via the 'send to kindle' function which would keep a copy in the amazon cloud for me and those copies would always be available to the kindle from anywhere i was. this all worked well for many years, but i sure didn't use caliber for much.

i think the problem crept in when i started experimenting with moving the calibre library around to various devices and cloud storage so i could access my books from devices other than the kindle. anyway, that's the only way i can explain it unless i had a hare-brained clean-up scheme and somehow managed to blitz all the metadata entries from within calibre itself and didn't notice.

i plead very guilty to not ever understanding how metadata worked. up until a few days ago i thought my calibre metadata entries were going back into the actual epub and mobi files although, considering the kindle didn't always show what i'd entered into calibre, i should have figured things out quicker. but, with most of us, our goal is to read, not to tweak. and i'm paying the price now--i've restored the metadata on 500 of my books and have about 2200 to go.

btw, i was very disappointed in that /polish/ function i discovered along the way. it only applies to epub, not mobi which is the format which would go onto my kindle. it also promises to put a metadata page into the epub file, but doing a /view/ from calibre doesn't show one on any of the books i tested. but since it doesn't operate on mobi files, it's not that useful for my current situation. i get the idea it's more for epub authors and i suspect i'll come back to it if i have occasion to upload something else to kdp.

/guy

Last edited by gteague; 11-16-2017 at 04:17 PM.
gteague is offline   Reply With Quote
Old 11-16-2017, 07:04 PM   #7
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: 20,568
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@gteague - the Embed metadata tool can 'inject' metadata into formats other than EPUB and AZW3. You'll probably need to add it to a toolbar or menu, or give it a keyboard shortcut. I know it works on PDF and DOCX, but I don't know about MOBI.

To get a better idea of how calibre 'works' have a look at the Video Tutorials. Ordinarily, I don't like video tutorials (loathe them in fact), however the videos that Kovid has made for calibre are a rare exception.

Quote:
Originally Posted by gteague View Post
. . . disappointed in that /polish/ function [ . . .] it also promises to put a metadata page into the epub file, but doing a /view/ from calibre doesn't show one on any of the books i tested. but since it doesn't operate on mobi files, it's not that useful for my current situation.
I assume you're talking about embedding so-called 'book jackets'. They work for me on EPUBs (Polish and Modify) and AZW3 (Polish), they're placed immediately after the cover. I don't how to shoehorn them into a MOBI.

BR
BetterRed is offline   Reply With Quote
Old 11-17-2017, 09:38 PM   #8
gteague
Zealot
gteague shares his or her toysgteague shares his or her toysgteague shares his or her toysgteague shares his or her toysgteague shares his or her toysgteague shares his or her toysgteague shares his or her toysgteague shares his or her toysgteague shares his or her toysgteague shares his or her toysgteague shares his or her toys
 
gteague's Avatar
 
Posts: 104
Karma: 5658
Join Date: Nov 2007
Location: dfw
Device: kindle v1.0
ok, @betterred, you've led me to the answer. i just tried out the /embed metadata/ toolbar function. i used the calibre viewer to show a book with ebub and mobi formats (it used the mobi format) and noted the embedded metadata was different than my calibre metadata. i then hit the tool and re-checked and the embedded metadata now matched my calibre metadata.

i tried a couple more test such as adding a tag, hitting the tool, then checking to see if it transferred my new tag and it did.

so i'm convinced this is nearly exactly what i was asking for--a way to make my books internal metadata match the calibre metadata. this should allow me to clean up any books that my kindle isn't displaying and sorting correctly due to the embedded metadata. and i needed to be able to do this to the mobi format since that's the one that gets passed to the kindle and it appears it does that by default.

i didn't check the epub versions--if the tool does both versions that's great, but the fact that it fixes the mobi format was all i needed.

i still have those videos in my wip folder, btw, haven't watched them yet but i will.

thanks again to all. /guy
gteague is offline   Reply With Quote
Old 11-17-2017, 09:40 PM   #9
gteague
Zealot
gteague shares his or her toysgteague shares his or her toysgteague shares his or her toysgteague shares his or her toysgteague shares his or her toysgteague shares his or her toysgteague shares his or her toysgteague shares his or her toysgteague shares his or her toysgteague shares his or her toysgteague shares his or her toys
 
gteague's Avatar
 
Posts: 104
Karma: 5658
Join Date: Nov 2007
Location: dfw
Device: kindle v1.0
btw, the covers seemed to be the same on the ones i tested although i don't much care about that. when you get so many loose ebooks from various sources it's very time-consuming to hunt down the exact cover that matches your version and if i can get a cover with the right title, that's good enough for me in nearly all cases.

btw, found this link along the way where the calibre author tells what the embed function does:

https://www.mobileread.com/forums/sh...d.php?t=241809

/guy

Last edited by gteague; 11-17-2017 at 09:43 PM.
gteague is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Insert metadata as page at start of book adds does not replace (mobi to mobi) linusnc Calibre 2 07-19-2012 03:54 PM
Epub to Mobi issue with metadata oldbwl Conversion 8 11-20-2011 06:38 AM
Updating EPUB/MOBI metadata Caleb666 Library Management 12 09-02-2011 12:13 PM
ePub to mobi metadata page help please AlexBell Conversion 2 05-07-2011 11:19 AM
Mobi to Epub repeats metadata oldbwl Calibre 2 12-31-2010 01:41 AM


All times are GMT -4. The time now is 09:20 PM.


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