calibredb add -c ./cover.jpg not working

Bug #1562507 reported by Srinivas P
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Fix Released
Undecided
Unassigned

Bug Description

trying to add a new epub book with its cover. calibredb add x.epub -c cover.jpg is not adding the cover

Revision history for this message
Kovid Goyal (kovid) wrote : Fixed in master

Fixed in branch master. The fix will be in the next release. calibre is usually released every Friday.

 status fixreleased

Changed in calibre:
status: New → Fix Released
Revision history for this message
Srinivas P (srini8080) wrote :

It will be great if it adds a titlepage just like doing it in edit-ebook--->tools--->cover

Revision history for this message
Kovid Goyal (kovid) wrote : Re: calibre bug 1562507

calibredb only touches the database, it does not and will not make
changes to ebook files themselves.

Revision history for this message
Eli Schwartz (eschwartz) wrote :

calibredb already has an "embed_metadata" subcommand for that exact purpose, why on earth should adding the book automatically invoke that?

Revision history for this message
Srinivas P (srini8080) wrote :

Many ebook readers on Android look for the first html/xml/xhtml file to make the cover. So without the first file having the cover, they all look blank.

When you edit-ebook and add cover, the titlepage.xhtml file gets added. This will make the ebook readers show the cover int he app.

Revision history for this message
Kovid Goyal (kovid) wrote :

If you want to ensure an EPUB file has a titlepage, the command you need
is ebook-polish, not calibredb. Like this:

ebook-polish -c cover.jpg file.epub
calibredb add file.epub

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.