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 08-07-2021, 05:27 PM   #1
penguin121
Junior Member
penguin121 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Aug 2021
Device: kobo
Unhappy Sigil detects metadata but Calibre doesn't? So lost.

I have a few epubs that were made very sloppily. They're readable, but too much metadata to do one by one.

I've spent a lot of time playing around to see what exact file in the epub is the issue (it's structured really weird). Sigil detects the metadata, but Calibre doesn't. Saving from Sigil doesn't change anything. What's that about?

(Also, replacing <metadata> in the faulty epub's .opf with the <metadata> from a functional epub makes it readable to Calibre. Couldn't find a fix short of manually adjusting it, but it's worth mentioning. Just asking about the Sigil-Calibre detection differences though.)
penguin121 is offline   Reply With Quote
Old 08-07-2021, 05:54 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,048
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
GIGO
If there are structure issues, those need to be fixed before automated tools have a chance.

NOW:
Calibre uses Library Metadata as the source to Embed (Polish, Embed...)
But the Editor can also auto update While opening the book.
(in the editor) Preferences: Integration with Calibre: Tick the box
theducks is offline   Reply With Quote
Advert
Old 08-07-2021, 06:37 PM   #3
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,724
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Long Story Short - the calibre library manager sources the metadata from its database, Sigil sources its metadata from the opf file in the EPUB.

Use Calibre's Polish book tool (press 'P') to get the library database metadata into the EPUB, use Metadata edit to set the library database to what is in the EPUB, viz:

Click image for larger version

Name:	Screenshot 2021-08-08 083059.jpg
Views:	113
Size:	120.8 KB
ID:	188584

BR
BetterRed is online now   Reply With Quote
Old 08-09-2021, 12:07 PM   #4
penguin121
Junior Member
penguin121 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Aug 2021
Device: kobo
So I tried those methods... Perhaps I didnt do a good job of it, but I couldn't figure out a way to make it work :\

The metadata is definitely in the .opf. I wasn't sure how the Metadata Edit works? I tried a few templates, tried using Polish "update metadata," in both orders, and couldn't make any metadata appear. I may have done this wrong...

Unfortunately integrating the editor with calibre to update metadata didn't do the trick either

Last edited by penguin121; 08-09-2021 at 12:09 PM.
penguin121 is offline   Reply With Quote
Old 08-09-2021, 11:07 PM   #5
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by penguin121 View Post
So I tried those methods... Perhaps I didnt do a good job of it, but I couldn't figure out a way to make it work :\

The metadata is definitely in the .opf. I wasn't sure how the Metadata Edit works? I tried a few templates, tried using Polish "update metadata," in both orders, and couldn't make any metadata appear. I may have done this wrong...

Unfortunately integrating the editor with calibre to update metadata didn't do the trick either
I can't tell where you are seeing that the metadata is wrong or in which direction you are trying to update it. So...

The metadata editor in calibre does not update the actual book. It updates the database and then calibre will update the OPF file that is in the directory the book is in (which is used as a backup). To actually update the book, you need to do something. The methods I can think of to update the actual book are Embed metadata, a conversion, Polish books, the Modify ePub plugin, send-to-device or save-to-disk and opening with the editor. And if the ePub Metadata writer plugin is disable, most of the above won't do anything.

If you are updating the metadata directly in the book by Sigil, the calibre editor or some other metadata editor, then calibre will only read this when the book is first added to the library. If you edit the book afterwards, you will need to fetch the metadata again from the book. This can be done from the edit metadata screen. Select the book in the list of formats in the top right corner, and press "Set metadata" button.

Rereading the first post, I think your problem is the latter. Or possibly both. If you are editing the book with Sigil and updating the metadata, these changes will not show in the calibre library until you do the second of the above. And if you update the metadata in calibre, and edit the book in Sigil, you will not see the changed metadata unless you do one of the first options. Maybe calibre needs an "Embed metadata before opening with external program" option somewhere.
davidfor is offline   Reply With Quote
Advert
Old 08-11-2021, 07:08 AM   #6
McStubb
Connoisseur
McStubb began at the beginning.
 
Posts: 52
Karma: 10
Join Date: May 2014
Device: None
In the metadata editor can you select set metadata from ebook format and see of that updates calibre?
McStubb is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre: edit metadata doesn't work jeroencl Devices 5 03-01-2016 02:47 AM
Calibre doesn't find some metadata in amazon.de (Germany) samy2 Calibre 4 11-26-2014 12:21 PM
Calibre content server downloading doesn't include metadata cerasi Devices 0 09-08-2012 07:27 PM
Calibre detects my PocketBook 301+ as a PB 360, is that ok? speedtouch Devices 3 05-01-2012 11:18 PM
[Old Thread] calibre detects chapters, doesn't add to TOC Corey.Langner Calibre 17 09-25-2011 07:22 PM


All times are GMT -4. The time now is 07:44 PM.


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