Comment 1 for bug 1819995

Revision history for this message
Kovid Goyal (kovid) wrote :

Hmm well in theory it is do-able. You'd basically need to add hooks to the kindle and kobo drivers to initialize from an externally supplied path instead of the open() function. And modify the eject functionality similarly. Then add some config to the folder driver to tell it which device to emulate. Then modify all the API endpoints in the folder driver to delegate to the configured device instead.

There will be other problems though, stuff like supported formats, etc are not functions that can be delegated but simple fields, so would probably have to use some magic to make it happen.

A fair bit fo work overall.