Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration via CLI possible? #69

Open
Axolord opened this issue Oct 13, 2023 · 1 comment
Open

Configuration via CLI possible? #69

Axolord opened this issue Oct 13, 2023 · 1 comment
Labels
bug Something isn't working enhancement New feature or request

Comments

@Axolord
Copy link

Axolord commented Oct 13, 2023

Bug description

I run a headless calibre instance through the calibre-web docker container from linuxserver.

DeDRM provides a small guide on how to install the plugin via the cli tools, but there is non for DeACSM.

I tried installing the plugin via calibre-customize add DeACSM.zip and copying the /config/.config/calibre/plugins directory over from a working calibre instance, that I configured via the GUI. But with this process, using calibredb add test.acsm --library /books I get:

DeACSM v0.0.16: Trying to parse file test.acsm
ADE sanity check: Can't parse activation container
DeACSM v0.0.16: ADE auth is missing or broken

Is there a possibility to use and configure the plugin from within the CLI?

Operating system

Linux

Which version of Calibre are you running?

6.28.1

Which version of the ACSM Input plugin are you running?

v0.0.16

Import type

No response

Further information

No response

@Leseratte10
Copy link
Owner

There is currently no way to configure the plugin using the CLI, but copying over the existing config folder should work just fine (people have done that in the past). Can't parse activation container means the plugin was unable to find or load the activation.xml file.

Depending on the plugin version you should either have:

  • plugins/deacsm.json and plugins/DeACSM/account/activation.xml, or
  • plugins/ACSMInput/ACSMInput.json and plugins/ACSMInput/activation.xml

Are these available and do the files look like valid XML?

@Leseratte10 Leseratte10 added bug Something isn't working enhancement New feature or request labels Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants