09-23-2023, 04:16 PM | #1 |
Grand Sorcerer
Posts: 6,772
Karma: 26974049
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
|
Device Driver API for MTP devices (e.g. Kindle Scribe)
I'm thinking about creating a tool that would manage Scribe Notebooks (back up, version, restore, convert, etc.). I'd like to leverage calibre device support to connect and download them.
Is this possible with the current API? I have been looking at Annotations plugin source for clues but it is slow going. As a plugin, it could perhaps use a dedicated library, where versions are stored with Series metaphor, and of course leverage the UI framework. And it might be more user friendly for calibre users with Scribes. Hence my question. But in any case I will start with a standalone tool just to work out requirements and implementation details. I have been jotting down some ideas and conducting experiments but I think I am ready to start writing some code. |
09-23-2023, 11:08 PM | #2 |
creator of calibre
Posts: 44,564
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Which API are you asking about? If you mean how to do file operations on MTP devices, see mtp/driver.py for the API and mtp/test.py as an example of using the API
|
Advert | |
|
09-24-2023, 01:19 PM | #3 |
Grand Sorcerer
Posts: 6,772
Karma: 26974049
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
|
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Deleting documents from content and devices does not delete them from my Scribe | Pjama | Amazon Kindle | 8 | 02-16-2023 09:32 PM |
Calibre accessing MTP device under KDE5 solution | kj76 | Devices | 2 | 04-23-2022 09:50 AM |
Calibre 2.51.0 triggers MTP failure with particular device | mikebw | Devices | 4 | 02-05-2018 04:33 PM |
Sending files to MTP device without conversion | RichieTheK | Devices | 7 | 10-06-2012 01:49 PM |
Duokan (Kindle) device driver | apostate | Devices | 1 | 02-10-2011 03:15 PM |