04-18-2024, 10:45 AM | #1 |
Junior Member
Posts: 8
Karma: 10
Join Date: Mar 2022
Device: kindle 10 gen
|
Is possible to use a plugin for Calibre with Calibre-cli?
Hi.
Well that, i want to use Calibre headless, and for me is really important have the possibility to run a plugin that i was using with the graphical interface (i never use the cli version) it is possible to add plugins from cli? and later run them? Thanks. |
04-18-2024, 11:33 AM | #2 |
creator of calibre
Posts: 44,409
Karma: 23977332
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
calibre-customize allows managing plugins and calibre-debug --run-plugin allows running them, IF, the plugin supports being run from the command line.
|
04-18-2024, 03:06 PM | #3 |
Junior Member
Posts: 8
Karma: 10
Join Date: Mar 2022
Device: kindle 10 gen
|
Thanks
I installed throught the cli with the command to say. Later list to see the plugins. And it seems the name is this:Biblioteca EPL exceute this to config but im having this error: Code:
calibre-customize --customize-plugin="Biblioteca EPL" Code:
calibre-customize --customize-plugin=Biblioteca EPL But the same result: Code:
Traceback (most recent call last): File "/usr/bin/calibre-customize", line 21, in <module> sys.exit(main()) ^^^^^^ File "/usr/lib/calibre/calibre/customize/ui.py", line 887, in main name, custom = opts.customize_plugin.split(',') ^^^^^^^^^^^^ ValueError: not enough values to unpack (expected 2, got 1) Thanks EDIT:OH, i see is looking for more arguments.... but how i know the variables to put the info? Last edited by 9acca9; 04-18-2024 at 03:09 PM. |
04-18-2024, 03:13 PM | #4 |
Junior Member
Posts: 8
Karma: 10
Join Date: Mar 2022
Device: kindle 10 gen
|
Hi.
I add the plugin, but for config through terminal it looks complicated to me. I can install the addon in a graphical enviroment and then take that config to my headless system? where will be saved those arguments of the plugin in calibre? i mean, so i take it from there. Thanks. |
04-18-2024, 09:19 PM | #5 |
creator of calibre
Posts: 44,409
Karma: 23977332
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
THe customization string is the same as you would enter for the plugin when customizing it via the GUI. If the plugin has more complex customization than that, then you cant configure it from the CLI. And you can always copy the calibre configuration folder from one computer to another.
|
04-19-2024, 11:26 AM | #6 |
Junior Member
Posts: 8
Karma: 10
Join Date: Mar 2022
Device: kindle 10 gen
|
excellent!
Im gonna try that, thanks for your help! |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CLI catalog while calibre is running | tycho | Library Management | 7 | 10-06-2020 08:15 AM |
Mimic the Calibre Export Library using CLI | Kevan | Library Management | 4 | 06-15-2020 06:44 PM |
Calibre issues with adding books using cli | klackerz | Calibre | 1 | 07-06-2018 06:06 AM |
Can I use Calibre's CLI tools for an app? | markvb | Conversion | 5 | 04-15-2012 10:00 PM |