From 6a921b239615f0aac0c2aeb1fcbbfe35283893f5 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 11 Dec 2021 08:31:48 +0530 Subject: [PATCH] MTP driver: Dont send the calibre device db files to the root folder on the supernote a5 x as it fails. Fixes #1954460 [Supernote ax5](https://bugs.launchpad.net/calibre/+bug/1954460) --- src/calibre/devices/mtp/defaults.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/calibre/devices/mtp/defaults.py b/src/calibre/devices/mtp/defaults.py index a46feac625..a508546c93 100644 --- a/src/calibre/devices/mtp/defaults.py +++ b/src/calibre/devices/mtp/defaults.py @@ -30,6 +30,10 @@ class DeviceDefaults: 'eBooks/import', 'eBooks', 'sdcard/ebooks'], } ), + # Supernote A5 + ({'vendor': 0x2207, 'product': 0x0031}, { + 'calibre_file_paths': {'metadata':'NOOK/metadata.calibre', 'driveinfo':'NOOK/driveinfo.calibre'}, + }), ) def __call__(self, device, driver):