From a0da32deb51c6a569d0dcd34871445aaf4416eb4 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 27 Nov 2023 15:47:35 +0530 Subject: [PATCH] Fix #2044659 [Library on Tolino Vision 6 doesn't get listed](https://bugs.launchpad.net/calibre/+bug/2044659) --- src/calibre/devices/mtp/driver.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/calibre/devices/mtp/driver.py b/src/calibre/devices/mtp/driver.py index 84c693eed4..311dab3fc8 100644 --- a/src/calibre/devices/mtp/driver.py +++ b/src/calibre/devices/mtp/driver.py @@ -100,7 +100,8 @@ class MTP_DEVICE(BASE): 'pictures', 'ringtones', 'samsung', 'sony', 'htc', 'bluetooth', 'fonts', 'system', 'games', 'lost.dir', 'video', 'whatsapp', 'image', 'com.zinio.mobile.android.reader'}: return True - if lpath[0].startswith('.'): + if lpath[0].startswith('.') and lpath[0] != '.tolino': + # apparently the Tolino for some reason uses a hidden folder for its library, sigh. return True if len(lpath) > 1 and lpath[0] == 'android':