Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Kindle Scribe #21

Open
tomsem opened this issue Jan 23, 2024 · 2 comments
Open

Support for Kindle Scribe #21

tomsem opened this issue Jan 23, 2024 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@tomsem
Copy link

tomsem commented Jan 23, 2024

Scribe of course uses MTP (media transfer protocol). Calibre currently does not support copying thumbnails for it.

There are some C libraries (check calibre source code for example), perhaps you could call those from Go.

@rupor-github rupor-github added enhancement New feature or request help wanted Extra attention is needed labels Jan 23, 2024
@rupor-github
Copy link
Owner

I am watching this closely, but presently I do not think I am ready to implement MTP support the way coherent with overall project. The way MTP is supposed to be used on different platforms is really very different. It impossible to cleanly incorporate in a portable way (or at least I do not see how yet). Using separate tool to copy files via MTP looks like a better option at the moment.

@tomsem
Copy link
Author

tomsem commented Jan 23, 2024

I think it is reasonable to guess that all future Kindles will use MTP. Surely there will be a 7.8/8" Kindle this year? With buttons?

When I started looking into how to write code to work with it I was surprised that there is no Python 3 library that works with it (there is one for Python 2 but nobody has ported it and I haven't attempted to do so yet). Even with the example of calibre, I haven't worked out how to do it in Python in a standalone way, and I have more investigation to figure out how to write a script that runs in calibre's Python environment so it can leverage its MTP interface.

On Windows, you can use PowerShell commands to automate Windows Explorer, on Mac/LInux there is a libmtp command line tool you can install with HomeBrew. I will probably wind up writing some code to use such shell commands until I have a better tasting solution.

I don't side load to Kindle much myself (there are few advantages to doing that versus just using Send To Kindle), and if I did, I probably would not care that much about thumbnail images.

But I want do do some things with Notebooks and need a way to transfer them back and forth and automate everything.

Repository owner deleted a comment from vazw Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants