mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-04 04:25:40 +01:00
Merge from trunk
This commit is contained in:
commit
d0bf5261fe
6 changed files with 8 additions and 5 deletions
|
|
@ -171,7 +171,7 @@ class ANDROID(USBMS):
|
|||
'FILE-STOR_GADGET', 'SGH-T959', 'SAMSUNG_ANDROID', 'GT-P1000_CARD',
|
||||
'A70S', 'A101IT', '7', 'INCREDIBLE', 'A7EB', 'SGH-T849_CARD',
|
||||
'__UMS_COMPOSITE', 'SGH-I997_CARD', 'MB870', 'ALPANDIGITAL',
|
||||
'ANDROID_MID', 'P990_SD_CARD']
|
||||
'ANDROID_MID', 'P990_SD_CARD', '.K080']
|
||||
|
||||
OSX_MAIN_MEM = 'Android Device Main Memory'
|
||||
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ class KOBO(USBMS):
|
|||
CAN_SET_METADATA = ['collections']
|
||||
|
||||
VENDOR_ID = [0x2237]
|
||||
PRODUCT_ID = [0x4161, 0x4163]
|
||||
PRODUCT_ID = [0x4161, 0x4163, 0x4165]
|
||||
BCD = [0x0110, 0x0323, 0x0326]
|
||||
|
||||
VENDOR_NAME = ['KOBO_INC', 'KOBO']
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ def human_readable(size, precision=2):
|
|||
'device_collections': [],
|
||||
'author_sort_map': {},
|
||||
'authors' : [_('Unknown')],
|
||||
'author_sort' : _('Unknown'),
|
||||
'title' : _('Unknown'),
|
||||
'user_categories' : {},
|
||||
'author_link_map' : {},
|
||||
|
|
|
|||
|
|
@ -697,7 +697,6 @@ def getter(self):
|
|||
val = None
|
||||
else:
|
||||
val = qt_to_dt(val)
|
||||
print val
|
||||
return val
|
||||
|
||||
class BulkSeries(BulkBase):
|
||||
|
|
|
|||
|
|
@ -122,6 +122,11 @@ class Kobo(Device):
|
|||
output_format = 'EPUB'
|
||||
id = 'kobo'
|
||||
|
||||
class KoboVox(Kobo):
|
||||
name = 'Kobo Vox'
|
||||
output_profile = 'tablet'
|
||||
id = 'kobo_vox'
|
||||
|
||||
class Booq(Device):
|
||||
name = 'bq Classic'
|
||||
manufacturer = 'Booq'
|
||||
|
|
|
|||
|
|
@ -173,8 +173,6 @@ def get_components(template, mi, id, timefmt='%b %Y', length=250,
|
|||
tsorder = tweaks['save_template_title_series_sorting']
|
||||
format_args = FORMAT_ARGS.copy()
|
||||
format_args.update(mi.all_non_none_fields())
|
||||
if mi.is_null('author_sort'):
|
||||
format_args['author_sort'] = _('Unknown')
|
||||
if mi.title:
|
||||
if tsorder == 'strictly_alphabetic':
|
||||
v = mi.title
|
||||
|
|
|
|||
Loading…
Reference in a new issue