Skip to content

Commit

Permalink
MTP driver: Ignore fonts and system top-level folders
Browse files Browse the repository at this point in the history
  • Loading branch information
kovidgoyal committed Sep 1, 2023
1 parent 3611a73 commit 32814c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/calibre/devices/mtp/driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def is_folder_ignored(self, storage_or_storage_id, path,
# 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

Expand Down

0 comments on commit 32814c3

Please sign in to comment.