![]() |
#1 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Jun 2017
Location: France
Device: Vivlio Touch HD+ [PB632]
|
Merge cover and metadata in epub
Hello,
I've modified the metadata of an epub. So in the directory there is a cover.jpg, a metadata.opf and the epub file. Is it possible to include the jpg and the opf in the epub ? I use Calibre 1.25 with Ubuntu 14. Regards, |
![]() |
![]() |
![]() |
#2 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
Quote:
Calibre keeps a copy of the cover for display in the GUI as not all formats support covers. The .opf file is kept to allow for recovery when/if the Main Calibre metadata database gets corrupted. |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Jun 2017
Location: France
Device: Vivlio Touch HD+ [PB632]
|
Quote:
I modified the comments and changed the cover at 21:21, but the epub last modification didn't change: max@pc-max:~$ ls -l "/home/max/Bibliothèque calibre/Collectif/Guide d'autodefense numerique _ Tome 1 -- hors connexions (6973)" -rw-rw-r-- 1 max max 56194 juin 21 21:43 cover.jpg -rw-rw-r-- 1 max max 197242 juin 21 19:05 Guide d'autodefense numerique _ Tome 1 -- - Collectif.epub -rw-rw-r-- 1 max max 3498 juin 21 21:43 metadata.opf If I copy only the epub in another place, import it with Calibre, the comments and the cover aren't modified. max@pc-max:~$ ls -l "/home/max/Bibliothèque calibre/Collectif/Guide d'autodefense numerique _ Tome 1 -- hors connexions (7029)" -rw-rw-r-- 1 max max 12235 juin 21 21:51 cover.jpg -rw-rw-r-- 1 max max 197242 juin 21 21:51 Guide d'autodefense numerique _ Tome 1 -- - Collectif.epub -rw-rw-r-- 1 max max 3508 juin 21 21:54 metadata.opf A the importation, Calibre created a cover.jpg and a metadata.opf from the epub (you're right, they are in the epub) but there are the old ones. I would like to distribute the epub with the new cover and comments. Of course, the epub is free (https://guide.boum.org/). Regards, |
|
![]() |
![]() |
![]() |
#4 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,715
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@mpuech - when you update metadata and/or cover the format files are NOT updated.
If you use Send to Device, or Save to Disk the copy of the format file sent or saved (e.g. the EPUB) will contain the current metadata and cover. If you want to update the EPUB in the library with the current metadata and cover, the simplest way is to use the Polir des livres tool (press 'P', or add to toolbar). BR |
![]() |
![]() |
![]() |
#5 | |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Jun 2017
Location: France
Device: Vivlio Touch HD+ [PB632]
|
Quote:
I just have a warning: Code:
Failed to initialize plugin: '/home/max/.config/calibre/plugins/KePub Metadata Writer.zip' Regards, Last edited by mpuech; 06-22-2017 at 06:09 AM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,715
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Why are you using such an old version of calibre - 1.25 was released in early 2014, there have been about 100 new versions since then? Latest versions are at ==>> calibre - Download calibre. BR |
|
![]() |
![]() |
![]() |
#7 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
@BR: KePub Metadata Writer is in the plugin index. It's the only metadata writer plugin. |
|
![]() |
![]() |
![]() |
#8 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,038
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Possible Python version (too low)
|
![]() |
![]() |
![]() |
#9 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,715
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
having metadata.opf, cover.jpg + title.[pdf|epub|..] what's the best function to use? | kabirmaar | Development | 2 | 06-21-2017 03:33 PM |
Merge books, how to select FIRST book or MERGE metadata? | rboatright | Library Management | 11 | 08-20-2016 11:01 AM |
Bulk metadata download and merge tags and select larger cover(s) | hiperlink | Calibre | 2 | 03-26-2014 03:58 AM |
convert ePub to ePub Cover and Metadata only | Maggie-Me | Conversion | 4 | 06-19-2011 10:25 AM |
Merge metadata from other lib | drMerry | Library Management | 6 | 05-04-2011 06:41 PM |