Skip to content
This repository has been archived by the owner on Nov 12, 2022. It is now read-only.

Request: author and title for epub files on the homescreen #16

Open
slow-mo opened this issue Apr 23, 2015 · 9 comments
Open

Request: author and title for epub files on the homescreen #16

slow-mo opened this issue Apr 23, 2015 · 9 comments

Comments

@slow-mo
Copy link

slow-mo commented Apr 23, 2015

Would it be hard to make kpvbooklet show the author and title for epub files on the homescreen - instead of the filename - as for pdf and mobi/azw files?

@chrox
Copy link
Member

chrox commented Apr 23, 2015

It's possible but needs a lot of reverse engineering to implement an EPUB metadata extractor like the PDF metadata extractor provided by Kindle system.

@dracodoc
Copy link

dracodoc commented Feb 8, 2016

Isn't EPUB metadata an open standard? I think any epub is just a zip, and you can find metadata in content.opf (the location of this file may be different) like this:

    <meta name="calibre:title_sort" content="Synaptic Self"/>
    <dc:language>zh</dc:language>
    <dc:creator opf:file-as="LeDoux, Joseph" opf:role="aut">Joseph LeDoux</dc:creator>

You can also find the book cover, which is another good option to show in the book cover view screen.

 <manifest>
    <item href="cover.jpeg" id="cover" media-type="image/jpeg"/>

@chrox
Copy link
Member

chrox commented Feb 8, 2016

It's easy to extract the meta data of a EPUB document indeed. But it's harder to integrate with the Kindle native system. Because Amazon never provides developing SDK for the Kindle system. Projects like the kpvbooklet have to reverse engineering the interface and some implementations of the Kindle system in order to inter-operate the digital content in Kindle devices.

@dracodoc
Copy link

dracodoc commented Feb 8, 2016

Yes that is a problem. I think calibre did some reverse engineering so that book transferred by calibre can show cover image, while just copy books to kindle will never have the cover shown. Maybe calibre's implementation can be a reference?

As for showing book author and title, there is a simple but ugly hack without need of reverse engineering:

just extract meta data from book then rename the file to title - by author.epub. Then file name get shown, which actually have the book title and author.

Calibre actually always rename books to its own way by metadata.

Of course this could be an option if some user don't like it.

@NiLuJe
Copy link
Member

NiLuJe commented Feb 8, 2016

Calibre doesn't have to directly interact with the Kindle Framework.
KPVBooklet does (as in, it's really, really directly plugged in there). It's far, far, far more complex than that, and the hoops Calibre has to jump through to make the framework happy are barely related ;).

@martinrotter
Copy link

So I am also bothered by this issue. If kpvbooklet cannot display the actual metadata, I would be satisfied with this:

  • Does kpvbooklet support displaying of non-English characters in filenames of books?
  • If so, is there a way to force Calibre to actually "send to device" book files with non-English characters included?

I mean, I searched throught Google like a crazy, but could not find a solution. I have big and nicely organized library and each book has filled title/description/author in Czech language. For example: Souostroví Gulag/Alexandr Solženicyn (in translation Gulag Archipellago, Solzhenicyn). But when I "send to device" the file does not contain non-English characters and those are replaced by "ASCII" ones. Is there a way to force Calibre to send correct filenames for my whole library?

@dracodoc
Copy link

dracodoc commented Jun 8, 2016

The calibre question is unrelated, you can disable preference - save to disk - convert non-english characters, and set saving template to what you want, then use saving to disk instead of send to device to transfer books (save to your kindle partition).

I'm not using this, so I'm not sure if this have any difference from send to device.

@cytown
Copy link
Contributor

cytown commented Apr 21, 2017

If want to implement this, maybe you need implement specified com.amazon.ebook.booklet.reader.impl.detail.ReaderDetailViewFactory

Right?

@diegombeltran
Copy link

Can it be implemented?

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants