marianosimone / epub-thumbnailer

Script to extract the cover of an epub book and create a thumbnail for it
GNU General Public License v3.0
191 stars 29 forks source link

[Ubuntu 13.10] No preview in nautilus #3

Closed subascha closed 10 years ago

subascha commented 10 years ago

Hi,

after installing the epub-thumbailer nautilus doesn't show any covers.

Installation:

Checking dependencies ...

Required dependencies: Python Imaging Library ....... OK

Installing epub-thumbnailer to /usr/bin/ ...

Installed /usr/bin/epub-thumbnailer Installed /usr/share/thumbnailers/epub.thumbnailer

Installed the thumbnailer hook in /usr/share/thumbnailers/ You might have to restart your file manager for the thumbnailer to be activated.

Tried to use the command in console but I don't know what should happen:

/usr/bin/epub-thumbnailer /home/XX/Downloads/my.epub cover.png 128

No output.

Any hint would be appreciated!

Best regards from Germany Sascha

marianosimone commented 10 years ago

Hi Sacha,

After running that command, a cover.png file should have been created, with the cover of my.epub. However, the extraction might have failed, in case no cover could be found.

In that case, it would be cool if you could send me the epub to check if I can add a new extraction strategy for it

subascha commented 10 years ago

Hi,

sorry for the delay but i tried a few other scenarios and now most of the ebook covers get thumbnailed.

Here is one example for a missing cover preview:

https://www.dropbox.com/s/enckbtx0oljhv1d/Missing.zip

Best regards Sascha

marianosimone commented 10 years ago

Thanks for the report.

I added a new strategy to use the largest image in the file, in case not cover could be detected using the manifest, nor looking for images named "cover".

Please, let me know if you find any other example.