![]() |
#1 |
Addict
![]() Posts: 224
Karma: 10
Join Date: Jul 2012
Device: Kindle
|
Missing many .OPF files
Hola!
After moving my libraries due to a disk change, I suddenly have 330+ titles not showing in my library. Doing library maintenance, I get a total of 446 total Extra Titles and Extra Authors listed. The original folders are there, with .mobi and .epub and cover files, but no .opf. I don't know how they got removed. I did make a total library folder backup and then deleted the metadata.db file and then ran a library restore. Still not showing those "Extra Titles". If all is lost, is there a way to import those titles as new ones and go get the metadata for them? I know I can do it one at a time, but with over 300 of them to do, that is a lot of manual work! Any way to somehow create a "list" of those files and use the "Import List" plugin to make the process go a little faster? Other ideas? Thx Monty |
![]() |
![]() |
![]() |
#2 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,062
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Those OPF ARE what the RESTORE uses to rebuild the DB .
This is a different (and way faster) process that doing an ADD, since the metadata was known. If they were missing BEFORE the restore, then the DB never built them (this is a background task that chugs along at a OPF every few seconds, when needed. ![]() Or the DB had accumulated those errors to begin with. Now, the recovery invokes Identifying the Unknowns: Dragging them OUT of the Library FOLDER: The Add those normally |
![]() |
![]() |
![]() |
#3 | |
Addict
![]() Posts: 224
Karma: 10
Join Date: Jul 2012
Device: Kindle
|
Quote:
Perhaps that is an option Kovid could consider adding to Library Maint, ie if the books are still there, have an ID number, then optionally pull them back into the library en mass so all that is left to do is go get new metadata. It would save a lot of work, especially for large numbers of titles. Anyway, thanks! Monty |
|
![]() |
![]() |
![]() |
#4 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,062
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
|
|
![]() |
![]() |
![]() |
#5 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@MontyJ - you can regenerate the book folder metadata.opf files with the calibredb backup_metadata subcommand.
To deal with "Extra Titles" etc, create an empty library with same custom columns as the problem library via the library Create/switch dialogue, then use the Copy to Library (with delete) tool to copy all the books from the 'problem library' to the new one. The books that are left in 'problem library' can be added en-masse using the Add Books one book per directory option. Review your workflow. Check library errors like extra authors and titles, and missing metadata.opf files are almost invariably caused by using a file manager to add, rename, delete sub-directories and files within in the library directory tree. BR |
![]() |
![]() |
![]() |
#6 | |
Addict
![]() Posts: 224
Karma: 10
Join Date: Jul 2012
Device: Kindle
|
Quote:
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Export all is missing opf files | holmgren | Library Management | 1 | 04-08-2018 02:01 PM |
Missing metadata.opf Files After Move | william888 | Library Management | 1 | 03-11-2018 07:07 AM |
OPF missing opf metadata tag | AlanHK | ePub | 1 | 07-25-2017 11:17 AM |
Mobi - missing opf files | nemo1966 | Kindle Formats | 2 | 08-09-2011 01:35 PM |
OPF file OPS/package.opf is missing | Run2Eat | ePub | 2 | 05-31-2011 06:52 PM |