![]() |
#1 |
Member
![]() Posts: 13
Karma: 68
Join Date: Aug 2011
Device: Kindle
|
![]()
Hi,
since some version months ago I seem to have annoying issues with adding books that have metadata file along with them. This is the file structure I have - example: SecondName, FirstName - Bookname.jpg SecondName, FirstName - Bookname.opf SecondName, FirstName - Bookname.mobi SecondName, FirstName - Bookname.doc SecondName, FirstName - Bookname.azw3 SecondName, FirstName - Bookname.odt It always worked the way that I could drag and drop the book file to Calibre and it did read all metadata from .opf file and created the book correctly. Now I see two different types of behavior: 1. When I drag and drop .doc/.jpg/.opf/.odt files it will automatically read the metadata and create the book the right way, but in case of .jpg and .opf it will add the file as additional format rather than using it for Cover or Metadata only. 2. When I drag and drop .mobi/.azw3 it will NOT read the metadata from .opf and create a blank book with the correct author and book name, but without any additional information. I have the settings to "Read metadata from file contents rather than file name" disabled. Additional questions: - Why does Calibre add .opf as a file format when it's a metadata file? - Can I get back the behavior of adding any book format to have Calibre read the data from .opf file automatically and assing it to the book? It is very complicated to add bulk of books now. Thanks, Max |
![]() |
![]() |
![]() |
#2 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Use the second option in Add Books.
That will treat each directory as a separate book, with "each file is the same book in a different format". It should automatically use the opf to fill in the metadata, and the jpg as a cover image. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() Posts: 13
Karma: 68
Join Date: Aug 2011
Device: Kindle
|
Thanks eschwartz. I will try that. I was so used to drag and drop and I was completely ignoring any other options, but this seems to be the solution and I will only have to change my other scripts to actually create folders for each book before I import them.
|
![]() |
![]() |
![]() |
#4 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
If you are scripting it then be sure to check out the command-line interface to calibre.
Documentation is in the manual: https://manual.calibre-ebook.com/gen...cli-index.html Especially see the `calibredb` commnd |
![]() |
![]() |
![]() |
Tags |
adding books, metadata, opf |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Conversion azw3 to mobi - drm problem | ellentk | Conversion | 2 | 02-24-2015 12:30 AM |
Are cover.jpg and metadata.opf files included with Book.azw3 important? | omareg94 | Amazon Kindle | 13 | 02-11-2015 06:11 AM |
Adding metadata to mobi books | jakewoodblues | Library Management | 3 | 12-16-2014 09:52 PM |
Conversion Problem Mobi to AZW3 | Klaw | Conversion | 2 | 02-14-2014 07:16 AM |
Adding metadata to mobi questions. | Ballistics | Calibre | 2 | 06-24-2011 05:29 AM |