seblucas / cops

Calibre OPDS (and HTML) PHP Server : web-based light alternative to Calibre content server / Calibre2OPDS to serve ebooks (epub, mobi, pdf, ...)
http://blog.slucas.fr/en/oss/calibre-opds-php-server
GNU General Public License v2.0
1.43k stars 229 forks source link

.MOBI files can no longer be sent to Kindle since the beginning of 2023 #526

Open devfred78 opened 1 year ago

devfred78 commented 1 year ago

According to Amazon (see this page): image

But the current implementation of the function GetMostInterestingDataToSendToKindle() in the lib/Book.php file, the .MOBI file is the preferred one for sending by email. And sending by email is a very popular way to get an ebook on your Kindle!

It seems necessary to change this, for example by preferring the .EPUB format, or at least by removing the .MOBI file from the list:

$bestFormatForKindle = array('PDF', 'AZW3', 'EPUB');
devfred78 commented 1 year ago

To be precise, and following some tests, it seems that as of today (May 10, 2023), .MOBI files are still accepted by the Kindle. But the message from Amazon suggests that this capability will be stopped very soon.

mikespub commented 1 year ago

Included in mikespub-org/seblucas-cops#6 by @dunxd and release 1.3.5 at https://github.com/mikespub-org/seblucas-cops