View Single Post
Old 10-23-2017, 04:35 AM   #437
BeckyEbook
Guru
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 915
Karma: 3501166
Join Date: Jan 2017
Location: Poland
Device: Various
Quote:
Originally Posted by dsestero View Post
Furthermore, you cannot annotate Amazon sample books, so I wouldn't bother.
I know. I was thinking of adding an extra condition in Kindle.py:


Code:
                    if template == "*.kfx":
                        if "_sample" in path:
                            self._log("    Skipping sample=%s" % (path))
                            continue
To @kovidgoyal:
Bypassing samples should also be added to the kindle driver:
Code:
Traceback (most recent call last):
  File "site-packages\calibre\devices\kindle\driver.py", line 101, in metadata_from_path
  File "site-packages\calibre\startup.py", line 116, in local_open
IOError: [Errno 2] No such file or directory: u'J:\\documents\\Chroniques lunaires - livre 4, Winter (Pocket Jeunesse) (French Editi
on)_B01DWTQFP4_sample.sdr\\assets\\metadata.kfx'

Last edited by BeckyEbook; 10-23-2017 at 05:05 AM. Reason: additional notes
BeckyEbook is offline   Reply With Quote