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 02-28-2014, 11:35 AM   #16
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
No, I've wasted enough time on this. Four posts back I told you:

Quote:
When there is metadata in the file it will overwrite what is in the opf. If you want to use the OPF preferentially disable reading metadata from file contents.
Simply do that if you want to use the metadata in the OPF.
kovidgoyal is offline   Reply With Quote
Old 03-03-2014, 02:45 PM   #17
rolandt99
Member
rolandt99 began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Jun 2012
Device: nook
As I stated multiple times that (use internal metadata over OPF) is happening using "Add Multiple" but does NOT happen using "Add Single."

The uploaded screen shots and zip file show this...

Using the two book files sets included in the zip file. I added them twice; with "Single book per directory" option and with "Multiple books per directory" option.

In both screen shots (details and covers) the first 2 book entries are added using the "Single book per directory" option. The Metadata and Cover displayed are taken from the external OPF/JPG files.

In both screen shots (details and covers) the last 2 book entries (highlight selected) are added using the "Multiple books per directory" option. The Metadata and Cover displayed are taken from the internal PDF contents.

As you can clearly see the metadata and covers are different between the two methods of adding the EXACT same books.

Back in Sept/Oct 2012, when I ask for help because of this, you noted there was a single line of code (checking for an opf file) lost during some previous update from the 'handle multiple' logic section. After that single line of code was added back into the next week's release, both ways (Single and Multiple) used the opf/cover if they existed. And, both methods used internal metadata if the external opf/cover did not exist. Which, in my opinion is the correct way to handle it.

This Oct 2012 "fix" to handle data the same way in both methods, is apparently no longer there. That is why I started this current dialogue asking for assistance.

I sincerely appreciate this excellent software suite,
and thank you for your assistance,
Roland
Attached Thumbnails
Click image for larger version

Name:	calibre-scrn1.jpg
Views:	280
Size:	148.3 KB
ID:	119816   Click image for larger version

Name:	calibre-scrn2.jpg
Views:	282
Size:	129.0 KB
ID:	119817  
Attached Files
File Type: zip TestMetadata.zip (242.5 KB, 174 views)
rolandt99 is offline   Reply With Quote
Advert
Old 06-07-2020, 12:12 PM   #18
MrMxyzptlk
Junior Member
MrMxyzptlk began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Dec 2013
Device: Kindle Paperwhite 2
Yup, I have the exact same issue which is driving me crazy.
I have read from file unchecked, and have pdf / opf / jpg for everything, but Calibre completley ignores the opf if I import multiple at once.

I have 10,000+ to import so 1 at a time is not an option.
MrMxyzptlk is offline   Reply With Quote
Old 06-07-2020, 02:45 PM   #19
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,801
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Are you using Add Books? Which one (mode) did you choose?
theducks is offline   Reply With Quote
Old 06-15-2020, 04:43 PM   #20
MrMxyzptlk
Junior Member
MrMxyzptlk began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Dec 2013
Device: Kindle Paperwhite 2
I have tried add books from single directory, add books from subdirectories with the same results.

Here is 1 example book, with correct cover jpg and opf.
The book has no metadata embedded that I could find.

No matter what I try Calibre creates a cover from the first page; not what is in the OPF?

Some books work, on a large import of many books; not all.

I am reading from metadata not file.

The cover.jpg is what Calibre created not what I have in the original directory with the OPF and PDF.

Thank you for your help!
Attached Thumbnails
Click image for larger version

Name:	Mark Twain - Choice Bits from Mark Twain.jpg
Views:	86
Size:	32.4 KB
ID:	179914   Click image for larger version

Name:	cover.jpg
Views:	75
Size:	93.8 KB
ID:	179917  
Attached Files
File Type: opf Mark Twain - Choice Bits from Mark Twain.opf (2.3 KB, 103 views)
File Type: pdf Mark Twain - Choice Bits from Mark Twain.pdf (1.89 MB, 90 views)
MrMxyzptlk is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Import existing .opf's & books haiyeekayakee Calibre 7 06-26-2017 08:17 PM
How To Add OPF Book To Calibre? Vienna01 Calibre 7 08-28-2015 10:28 AM
TWO OPF files or something like Media Queries in the OPF file for KF8 and MOBI? DHahn Kindle Formats 3 04-17-2012 04:06 AM
How the new 0.6.45 Add new formats to existing books option works Starson17 Calibre 8 03-14-2010 01:27 PM
Applying Calibre recipes to a folder of pre-existing HTML files MattK Calibre 3 09-24-2008 01:15 PM


All times are GMT -4. The time now is 10:05 AM.


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