Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 02-28-2010, 12:45 PM   #1
ATimson
Evangelist
ATimson ought to be getting tired of karma fortunes by now.ATimson ought to be getting tired of karma fortunes by now.ATimson ought to be getting tired of karma fortunes by now.ATimson ought to be getting tired of karma fortunes by now.ATimson ought to be getting tired of karma fortunes by now.ATimson ought to be getting tired of karma fortunes by now.ATimson ought to be getting tired of karma fortunes by now.ATimson ought to be getting tired of karma fortunes by now.ATimson ought to be getting tired of karma fortunes by now.ATimson ought to be getting tired of karma fortunes by now.ATimson ought to be getting tired of karma fortunes by now.
 
ATimson's Avatar
 
Posts: 456
Karma: 1044878
Join Date: Apr 2009
Device: Kindle Paperwhite 4
Import: prioritization of metadata source?

I recently reimported my library using the "Add books from directories (One book per directory) option. I would have expected Calibre to use the "preferred import format order" when choosing which version to grab the metadata from, for ones where I have both LIT files and ePub. But it didn't - ePub should've been prioritized first, but it used the LIT file.

It's not the newest file, either - for another book it correctly chose ePub from among ePub, PDF, PMLZ, and PRC. And it's not alphabetical. So frankly, I'm stumped.

Unless it's the order the files were added to the directory...? That could explain the differences, but if so... well, it's silly.
ATimson is offline   Reply With Quote
Old 02-28-2010, 12:56 PM   #2
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,826
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
As far as I recall there is no particular algorithm used for this. If you are importing from a set of directories created by the save to disk button, then the OPF file will be used in preference, otherwise it is random.
kovidgoyal is offline   Reply With Quote
Advert
Old 02-28-2010, 03:57 PM   #3
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by kovidgoyal View Post
As far as I recall there is no particular algorithm used for this. If you are importing from a set of directories created by the save to disk button, then the OPF file will be used in preference, otherwise it is random.
I looked at this recently. I got the impression that after checking for the opf file, it just asked the OS to provide all the files and processed sequentially whatever the OS provided, so it probably has to do with directory order as the directory tree gets scanned. I'm not sure "random" is technically correct, but effectively, that's what you'd see.
Starson17 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mass import of books metadata from an ASCII file: HELP NEEDED LARdT Calibre 4 07-08-2010 04:05 PM
0.6.14 - error on import JohnDoe Calibre 7 10-01-2009 06:59 AM
Crashing on import RichieJarvis Calibre 2 10-01-2009 12:16 AM
Import with surname, first name flinx1 Calibre 0 05-04-2009 03:24 PM
Import cover SUSGOD Gen3 Developer's Corner 21 01-24-2008 09:05 AM


All times are GMT -4. The time now is 03:30 PM.


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