Originally Posted by kovidgoyal
You cannot inherit from a builtin driver class like that. The plugin loading system has no way to know which is the driver class, MTP_DEVICE or MSYNC
You need to inherit from the DevicePlugin class instead.
If you really want to inherit from MTP_DEVICE then create a driver.py file in your plugin and do it in that, then simply import MSYNC into __init__.py like this
from calibre_plugins.my_plugin_import_name.driver import MSYNC
|