View Single Post
Old 10-03-2017, 11:38 AM   #405
dsestero
Enthusiast
dsestero began at the beginning.
 
Posts: 36
Karma: 10
Join Date: Aug 2017
Location: Aosta (Italy)
Device: Kindle Voyage
It seems to me that the plugin is looking correctly to find books on the device on the basis of known patterns, like *.azw3 or *.kfx but then there are books (kfx mostly) for which there are errors like those shown below:
Code:
DEBUG:   16.7      Searching for books on vol=/media/dario/Kindle/documents using template=*.kfx
DEBUG:   16.7      Have possible book with path=/media/dario/Kindle/documents/Ultimo viene il corvo_B00C2H3ZO2.kfx
DEBUG:   16.7  _get_metadata. path=/media/dario/Kindle/documents/Ultimo viene il corvo_B00C2H3ZO2.kfx, stream_type=kfx
DEBUG:   16.7      Unable to get metadata from book. path=/media/dario/Kindle/documents/Ultimo viene il corvo_B00C2H3ZO2.kfx
DEBUG:   16.7      Exception thrown was=CONT magic number is incorrect (ea 44 52 4d)
DEBUG:   16.7      Have possible book with path=/media/dario/Kindle/documents/Il signore degli anelli (Vintage)_B00671AB3M.kfx
DEBUG:   16.7  _get_metadata. path=/media/dario/Kindle/documents/Il signore degli anelli (Vintage)_B00671AB3M.kfx, stream_type=kfx
DEBUG:   16.7      Unable to get metadata from book. path=/media/dario/Kindle/documents/Il signore degli anelli (Vintage)_B00671AB3M.kfx
DEBUG:   16.7      Exception thrown was=CONT magic number is incorrect (ea 44 52 4d)
or:
Code:
DEBUG:   22.4      Have possible book with path=/media/dario/Kindle/documents/Il cuore saggio_B01KTTPZG0.kfx
DEBUG:   22.4  _get_metadata. path=/media/dario/Kindle/documents/Il cuore saggio_B01KTTPZG0.kfx, stream_type=kfx
DEBUG:   22.4      Unable to get metadata from book. path=/media/dario/Kindle/documents/Il cuore saggio_B01KTTPZG0.kfx
DEBUG:   22.4      Exception thrown was=CONT magic number is incorrect (ea 44 52 4d)
Of couse, when looking at annotations the plugin writes log like:
Code:
DEBUG:   29.8    Annotation for Title==Il cuore saggio (Italian Edition)
DEBUG:   29.8      Title not found in books on device
Conversely, when books are found, they present a log like this:
Code:
DEBUG:   16.1      Searching for books on vol=/media/dario/Kindle/documents using template=*.azw3
DEBUG:   16.1      Have possible book with path=/media/dario/Kindle/documents/Ascolta il tuo cane (Salani Saggi)_B006664BDO.azw3
DEBUG:   16.1  _get_metadata. path=/media/dario/Kindle/documents/Ascolta il tuo cane (Salani Saggi)_B006664BDO.azw3, stream_type=azw3
DEBUG:   16.1      Have possible book with path=/media/dario/Kindle/documents/Palomar (Oscar opere di Italo Calvino Vol. 12)_B00C2H3Y3Y.azw3
DEBUG:   16.1  _get_metadata. path=/media/dario/Kindle/documents/Palomar (Oscar opere di Italo Calvino Vol. 12)_B00C2H3Y3Y.azw3, stream_type=azw3
followed by:
Code:
DEBUG:   29.0  _get_metadata. path=/media/dario/Kindle/documents/Palomar (Oscar opere di Italo Calvino Vol. 12)_B00C2H3Y3Y.azw3, stream_type=azw3
DEBUG:   29.1  Book on device title: Palomar (Oscar opere di Italo Calvino Vol. 12) (Italian Edition)
DEBUG:   29.1  _get_metadata. path=/media/dario/Kindle/documents/Ascolta il tuo cane (Salani Saggi)_B006664BDO.azw3, stream_type=azw3
DEBUG:   29.1  Book on device title: Ascolta il tuo cane (Salani Saggi) (Italian Edition)
and then:
Code:
DEBUG:   29.7    Annotation for Title==Palomar (Oscar opere di Italo Calvino Vol. 12) (Italian Edition)
DEBUG:   29.7      Found book_id=-52
Hope this would help.

Ciao,
Dario
dsestero is offline   Reply With Quote