noDRM / DeDRM_tools

DeDRM tools for ebooks
6.59k stars 287 forks source link

can I assist in getting the current obok_plugin into Calibre's plugin list? #414

Open cameron-simpson opened 8 months ago

cameron-simpson commented 8 months ago

I've been hooking into the noDRM/DeDRM_tools for both DeDRM and the obok_plugin for a command line tool here: https://github.com/cameron-simpson/css/tree/ebooks/lib/python/cs/ebooks

I've been working against a checkout from github. This morning I added code to automatically use the plugin from a local Calibre install and discovered that, at least for the obok_plugin, it is ancient Python 2 code lacking your Python 3 updates and Calibre does not see an updated version.

Can we arrange to update version of the plugin Calibre looks at?

noDRM commented 7 months ago

I'm not exactly sure what you're asking here.

Due to the questionable legality of these two plugins - both the DeDRM_plugin and the obok_plugin - they are not included with any Calibre install and they also can't be downloaded or updated directly from Calibre - they need to be downloaded from this Github repository.

If you're writing custom code or custom applications that will use an installed obok_plugin code from the installed Calibre, it will use whatever version the user has installed in their Calibre profile. That means if your code is loading ancient Python 2 code, then it looks like you have an ancient Python 2 version of the obok plugin installed.