mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 04:18:56 +02:00
Kindle driver: Prioritize sending MOBI over azw3 on e-ink devices so that people with older models can convert AZW3 to MOBI and just click send to device
This commit is contained in:
parent
6da4736ab5
commit
6889e7b633
1 changed files with 3 additions and 3 deletions
|
|
@ -288,7 +288,7 @@ class KINDLE2(KINDLE):
|
|||
name = 'Kindle 2/3/4/Touch Device Interface'
|
||||
description = _('Communicate with the Kindle 2/3/4/Touch eBook reader.')
|
||||
|
||||
FORMATS = ['azw3'] + KINDLE.FORMATS + ['pdf', 'azw4', 'pobi']
|
||||
FORMATS = ['azw', 'mobi', 'azw3', 'prc', 'azw1', 'tpz', 'azw4', 'pobi', 'pdf', 'txt']
|
||||
DELETE_EXTS = KINDLE.DELETE_EXTS + ['.mbp1', '.mbs', '.sdr', '.han']
|
||||
# On the Touch, there's also .asc files, but not using the same basename (for X-Ray & End Actions), azw3f & azw3r files, but all of them are in the .sdr sidecar folder
|
||||
|
||||
|
|
@ -450,7 +450,7 @@ class KINDLE_DX(KINDLE2):
|
|||
name = 'Kindle DX Device Interface'
|
||||
description = _('Communicate with the Kindle DX eBook reader.')
|
||||
|
||||
FORMATS = KINDLE2.FORMATS[1:]
|
||||
FORMATS = ['azw', 'mobi', 'prc', 'azw1', 'tpz', 'azw4', 'pobi', 'pdf', 'txt']
|
||||
PRODUCT_ID = [0x0003]
|
||||
BCD = [0x0100]
|
||||
|
||||
|
|
@ -462,7 +462,7 @@ class KINDLE_FIRE(KINDLE2):
|
|||
name = 'Kindle Fire Device Interface'
|
||||
description = _('Communicate with the Kindle Fire')
|
||||
gui_name = 'Fire'
|
||||
FORMATS = list(KINDLE2.FORMATS)
|
||||
FORMATS = ['azw3', 'azw', 'mobi', 'prc', 'azw1', 'tpz', 'azw4', 'pobi', 'pdf', 'txt']
|
||||
|
||||
PRODUCT_ID = [0x0006]
|
||||
BCD = [0x216, 0x100]
|
||||
|
|
|
|||
Loading…
Reference in a new issue