![]() |
#1 |
Connoisseur
![]() Posts: 69
Karma: 10
Join Date: Apr 2013
Device: Kobo Clara, Onyx Boox Monte Cristo
|
calibre message: Failed to read metadate from the following ...
Is it possible to have calibre add such metadata-less ebooks to its database and then manually create metadata for each such file?
The full story: I originally created these txt files with calibre from epub originals. I no longer have either the epubs or the opf files that calibre created. The ereader I used then, an iRiver StoryHD, used the standard directory tree structure to organize its files and made no use of the metadata at all. Unfortunately it died and I now have a Sony PRS300 which creates an elaborate database for file access from their metadata. For files that have no such metadata, the result is an indigestible mess. |
![]() |
![]() |
![]() |
#2 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,047
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:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Connoisseur
![]() Posts: 69
Karma: 10
Join Date: Apr 2013
Device: Kobo Clara, Onyx Boox Monte Cristo
|
Quote:
I was thinking more along the lines of creating an opf file from scratch, using an existing opf as a template, but attempts thus far have been ineffectual. Apparently I need to do more than just modify the filename and author name entries in the opf file. |
|
![]() |
![]() |
![]() |
#4 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,047
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
So far, no one has created a plugin that reads metadata values from a full path. Only the file name is parsed when Get Metadata from Filename mode is used.
|
![]() |
![]() |
![]() |
#5 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,718
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Try this
Add a few of your text files to calibre, fix up any titles and author names that need fixing, convert the txt files into whatever format you want to use on the Sony (e.g. ePub) and send those files to the Sony. I think the conversion will create an opf in the book folder, which is actually irrelevant in this context. The Calibre Send should embed an opf in the ePub from the data it has in the metadata database, even if it is sparse Hopefully your Sony will find that more to its taste. BR |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Connoisseur
![]() Posts: 69
Karma: 10
Join Date: Apr 2013
Device: Kobo Clara, Onyx Boox Monte Cristo
|
Are you saying that the metadata is available in the file itself? Its not in the body of the file then, but in the file header? That this is where calibre obtains the data to create the opf file?
|
![]() |
![]() |
![]() |
#7 | ||
Connoisseur
![]() Posts: 69
Karma: 10
Join Date: Apr 2013
Device: Kobo Clara, Onyx Boox Monte Cristo
|
Quote:
Quote:
Unfortunately, when I originally created these txt files with calibre, I kept only the txt files themselves, and dumped all the directories and opf files that calibre also generated, along with then source epubs and pdfs that I had calibre convert to txt. Apparently calibre includes no metadata at all in the actual txt files it creates (it puts that in the generated opf), and now calibre refuses to work with those bare txt files, won't load them into its library. If I could get it to do that I could use calibre's Metadata Edit functions to create what the Sony needs. |
||
![]() |
![]() |
![]() |
#8 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You can add txt files to calibre that dont have any metadata perfectly fine. That message is telling you calibre could not read metadata, not that adding books failed.
|
![]() |
![]() |
![]() |
#9 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,743
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Yes, you can edit the metadata in Calibre after adding the text files. The you can convert to ePub and the metadata will be included in the ePub. You may want to use Sigil to edit the ePub if need be. If the ePub is Ok as is except for the ToC, there is now a ToC editor you can use.
|
![]() |
![]() |
![]() |
#10 | |
Connoisseur
![]() Posts: 69
Karma: 10
Join Date: Apr 2013
Device: Kobo Clara, Onyx Boox Monte Cristo
|
Quote:
And thank you very much for writing calibre. |
|
![]() |
![]() |
![]() |
#11 |
Connoisseur
![]() Posts: 69
Karma: 10
Join Date: Apr 2013
Device: Kobo Clara, Onyx Boox Monte Cristo
|
Thank you all for your help, it turns out all that was needed was to rewrite the txt files. At least, this worked rewriting them from vim. I guess this recreated enough metadata in the file header to satisfy calibre's requirements. Now I can use calibre's Metadata Edit to make them good for my reader.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Failed Conversion Message | daylight54 | Conversion | 0 | 09-14-2011 06:20 PM |
Could Calibre pull metadate info from Goodreads? | Arainais | Calibre | 1 | 01-07-2011 10:58 AM |
HELP! 'Decryption Failed' Message | dashto | Kobo Reader | 3 | 12-21-2010 06:51 PM |
Samsung Slide does not see metadate.calibre | peter09 | Calibre | 5 | 11-09-2010 10:44 AM |
USB Device Failed Message | dixieknits | Ectaco jetBook | 5 | 06-23-2010 12:27 PM |