View Single Post
Old 11-28-2023, 06:44 AM   #606
xxyzz
Evangelist
xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.
 
Posts: 440
Karma: 2666666
Join Date: Nov 2020
Device: none
What's your calibre, OS and Kindle firmware version?

I use this line of code to check if Kindle device is connected: https://github.com/xxyzz/WordDumb/bl...d_file.py#L175

This should always works, unless calibre's driver uses a different value but that's unlikely.

I suspect calibre's Windows MTP driver code doesn't fill this value, this code works on Linux and mac.

Last edited by xxyzz; 11-28-2023 at 07:07 AM.
xxyzz is offline   Reply With Quote