Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 02-10-2022, 10:17 PM   #1
maxdj
Junior Member
maxdj began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Feb 2022
Device: Kindle Paperwhite
Lightbulb Enhancement Proposal: Send to Kindle large file support

The email-based implementation of send-to-kindle limits files to 25mb, which I've found to be prohibitive.

Amazon has an API to send larger files to kindle devices, for example via their Send to Kindle for Mac product. I've created an open-source python client for the API here: https://github.com/maxdjohnson/stkclient#readme

Would you be interested in integrating it into Calibre as an alternative or replacement for the email-based approach?

I've explored implementing it as a plugin, but I wasn't able to have the upload trigger automatically after news is downloaded. In any case, I figure it would be better as a core feature, as the email based implementation is today.
maxdj is offline   Reply With Quote
Old 02-11-2022, 01:48 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,200
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
IIRC the email limit is 50MB these days and I'm not a fan of OAuth, it doesnt work in the background since it requires user interaction every time auth is needed. Not to mention that email works with all services, this API with only Kindle.

You can send on news download from a plugin like this:

Code:
self.orig_email_news = self.gui.email_news
self.gui.email_news = self.news_downloaded

def news_downloaded(self, book_id):
    ... do whatever you want...
    self.orig_email_news(book_id)
kovidgoyal is offline   Reply With Quote
Old 02-11-2022, 11:33 AM   #3
slm
Fool
slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.
 
Posts: 462
Karma: 4113712
Join Date: Feb 2003
Device: Kindle: Voyage,PW1,KOA, Kobo: Clara Colour, Nook GLP, Pocketbook verse
I, for one, would be extremely interested in this either as a plug in or as a stand-alone program, particularly if it could be run on other platforms.

It isn't so much the size limit that bothers me as the problems of Amazon verifying some email addresses and some smpt provides changing their rules from time to time.

Is there a reference for the send to Kindle API?
slm is offline   Reply With Quote
Reply

Tags
enhancement, proposals, send large files, send to kindle


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
open large mobi file in IOS Kindle app HRR Apple Devices 3 05-12-2021 07:20 PM
enhancement proposal: DOWNLOADING NEWS Ersatzreifen Library Management 16 12-29-2016 05:43 AM
Content How can I email a large file to my Kindle? TheFattie Amazon Kindle 3 11-30-2016 08:18 PM
mailbook - equivalent for 'Send to Kindle' with collections support for K3 and DX slomkowski Kindle Developer's Corner 1 07-23-2013 01:04 PM
Readability adds Send-To-Kindle support... twowheels News 0 06-03-2011 01:45 PM


All times are GMT -4. The time now is 05:35 PM.


MobileRead.com is a privately owned, operated and funded community.