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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 10-05-2012, 04:53 PM   #1
rolandt99
Junior Member
rolandt99 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jun 2012
Device: nook
calibre - Not using existing metadata from *.opf files when Add books

Hello,

I am a relatively new user of calibre and have run into a problem caused by what seems to me to be an inconsistentancy in the way calibre does some actions.

I am using calibre 0.9.0 on Windows.

Due to some external issues I needed to reload a bunch of books into my calibre library. These had all been previously saved elsewhere using "Save to Disk"/"save to disk in a single directory". So all of the books along with the matching <cover>.jpg and <metadata>.opf files were in the saved data location.

First I attempted to re-Add these books using "Add books"/"Add books from directories, including sub-directories (Multiple books per directory, assumes every ebook file is a different book)". Since the calibre documentation states this is the "inverse of the Save to disk action, i.e. you can Save to disk, delete the books and re-add them with no lost information except for the date", I thought that all of the books would be added with the correct associated cover/metadata. That is NOT what I got. Books that are epub format do have 'correct' over/metadata - but that is only because the save to disk process updated the actual epub file. Books that are pdf format do not have the correct cover/metadata - again because the save to disk process did NOT update the actual pdf file. So the "multiple per directory" option seems to ignore cover/metadata files and just processes ebook files.

I then tried to re-Add a few of these books using "Add books"/"Add books from directories, including sub-directories (One book per directory, assumes every ebook file is the same book in a different format)". The calibre documentation states this is also the "inverse of the Save to disk action". So I took a few ebooks and created a directory tree with each book in a separate directory. This time it worked correctly. All books, including pdf format, now have 'correct' cover/metadata.




So my question is how can I add books including cover/metadata without having to place them into individual separate directories?

And, if I HAVE to use individual separate directories then will someone please tell me a quick simple straight forward process to move thousands of books (and related files) from a "single" directory structure to thousands of subdirectories.

thank you in advance for any assistance
rolandt99 is offline   Reply With Quote
Old 10-06-2012, 02:02 AM   #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: 22,505
Karma: 2944574
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
http://bazaar.launchpad.net/~kovid/c...revision/13429
__________________
Get calibre

Notice to all: I can not provide assistance with DRM removal, for legal reasons, so please do not contact me about it.
kovidgoyal is offline   Reply With Quote
 
Enthusiast
Old 10-06-2012, 10:10 AM   #3
rolandt99
Junior Member
rolandt99 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jun 2012
Device: nook
Thank you Kovid, for the fix.

However, since I am not a developer type to recompile calibre, I will have to wait until next week for release 0.9.2 (which I am guessing will include this).
rolandt99 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
TWO OPF files or something like Media Queries in the OPF file for KF8 and MOBI? DHahn Mobi 3 04-17-2012 04:06 AM
How To Add OPF Book To Calibre? Vienna01 Calibre 5 12-22-2011 12:09 PM
Import existing .opf's & books haiyeekayakee Calibre 3 12-12-2010 12:17 PM
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 04:23 PM.


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