Quote:
Originally Posted by worstje
Unfortunately, the best I can achieve is for it to put the .epub in the same directory as the script. It does not trigger cover generation, nor does it get put into the Calibre library. All I want is for the story go through all the same processes and put the e.pub in the same spot as when I'd manually select the option in the GUI.
|
'Unfortunately' is the correct word.
When called via calibre-debug CLI, FanFicFare plugin behaves the same as the FFF Python CLI, not the plugin version. So basic download functionality is all you get.
A number of things the FFF plugin does are simply not available when called via calibre CLI. That includes GUI user interactions and calling other plugins--such as Generate Cover.
In theory, all of the core FFF functions (download, update Calibre metadata, do conversion if optioned) could be re-coded to work from the CLI, but not calling other plugins--not without also incorporating their features or re-writing them.
You can, if desired, configure Calibre to auto-import any ebook placed in a specified directory. Then use FFF via calibre CLI to download and move the resultant file in that dir. But you don't get all FFF's bells and whistles.
Re: FFF CLI test versions, I do post a test version CLI for pip, but I don't always update it for every posted test version:
Code:
pip install --extra-index-url https://testpypi.python.org/pypi --upgrade FanFicFare