From 32814c36075ad701dc92947b5714252ad4d08459 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 1 Sep 2023 09:03:40 +0530 Subject: [PATCH] MTP driver: Ignore fonts and system top-level folders --- src/calibre/devices/mtp/driver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/devices/mtp/driver.py b/src/calibre/devices/mtp/driver.py index 5d0e53d8de..266e1cf50c 100644 --- a/src/calibre/devices/mtp/driver.py +++ b/src/calibre/devices/mtp/driver.py @@ -94,7 +94,7 @@ class MTP_DEVICE(BASE): # Top level ignores if lpath[0] in { 'alarms', 'dcim', 'movies', 'music', 'notifications', - 'pictures', 'ringtones', 'samsung', 'sony', 'htc', 'bluetooth', + 'pictures', 'ringtones', 'samsung', 'sony', 'htc', 'bluetooth', 'fonts', 'system', 'games', 'lost.dir', 'video', 'whatsapp', 'image', 'com.zinio.mobile.android.reader'}: return True