From 296b0d341d0d2ed34321557ecc94516366598f92 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 21 Jan 2025 08:32:36 +0530 Subject: [PATCH] Dump info about device as well --- src/calibre/devices/mtp/driver.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/calibre/devices/mtp/driver.py b/src/calibre/devices/mtp/driver.py index 6939f67249..3799f38486 100644 --- a/src/calibre/devices/mtp/driver.py +++ b/src/calibre/devices/mtp/driver.py @@ -724,6 +724,7 @@ def main(): dev.set_progress_reporter(prints) dev.open(cd, None) dev.filesystem_cache.dump() + print(dev.device_debug_info(), flush=True) docs = dev.prefix_for_location(None) print('Prefix for main mem:', docs, flush=True) entries = dev.list_folder_by_name(dev.filesystem_cache.entries[0], docs)