If I understand you correctly, you want to do what "Connect to folder" already does but for other devices?
One problem that wouldn't be easy to solve: the USB information helps calibre know which variant of the device is being used. Whatever mechanism used to find the device would also need to somehow know the variant, which implies some kind of externally-maintained (by you) mapping from USB info -> mount point or vice versa
Another approach would be to allow (somehow) a mapping from an abritrary folder to a device variant. This avoids detecting mounted devices, instead depending on the existence of a path to the device root. The mapping would need to be unique or one might have both the kindle and kobo drivers fighting over the same folder.
|