CDMClient
CDM - Centralized Download Manager Client CDMClient is the client application for the CDM Server.
This client communicates with the CDM Server to periodically send the download status from Transmission/QBittorrent and check for new torrent files to download. If new torrents are available, they are downloaded and added to Transmission/QBittorrent client.
Installation
Install or Upgrade the Package
Run the following command to install or upgrade CDMClient:
python3 -m pip install --upgrade cdmclient --user
Create a Systemd Service
To set up CDMClient as a systemd service, execute the following commands:
-
Create the service file:
echo "[Unit] Description=cdm-client service After=multi-user.target Conflicts=getty@tty1.service [Service] User=${USER} Type=simple Environment=LC_ALL=C.UTF-8 Environment=LANG=C.UTF-8 ExecStart=${HOME}/.local/bin/cdm-client Restart=on-failure RestartSec=3 [Install] WantedBy=multi-user.target" | sudo tee /etc/systemd/system/cdm-client.service
-
Reload systemd and enable the service:
sudo systemctl daemon-reload sudo systemctl enable cdm-client.service sudo systemctl start cdm-client.service
Add automatic update (optional)
To keep CDMClient updated automatically, you can add a cron job. Run:
crontab -e
Then add the following line to the crontab file:
0 3 * * * /usr/bin/python3 -m pip install --upgrade cdmclient --user && systemctl restart cdm-client.service
Configuration
The configuration file is located at:
~/.config/cdm_client/config.ini
This file is automatically generated when the service starts. Below is an example configuration:
[connection]
server_host = "https://cdmserver.com"
api_key = "1409d6ed79280aadcbe20f8f21981e89"
client_host =
client_port =
client_username =
client_password =
client_type= transmission # possible values: transmission or qbitorrent
Configuration Details:
server_host: The full URL of the CDM Server (e.g.,https://cdmserver.com).api_key: The API key generated when adding a new device on the CDM Server's devices page. Refer to the Devices Page Documentation.client_usernameandclient_password: Required authentication for the selected torrent client.client_type: Specify eithertransmissionorqbitorrent, depending on the torrent client you are using.client_hostandclient_port: Optional. If not specified, defaults tolocalhostand the default port for the selected client type.
Viewing Logs
To monitor the service logs, use the following command:
journalctl -fu cdm-client
Metadata
Release files for cdmclient 1.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cdmclient-1.3.0.tar.gz | 8.2 kB | Without provenance | Details for cdmclient-1.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cdmclient-1.3.0-py3-none-any.whl | Python 3 | none | any | Details for cdmclient-1.3.0-py3-none-any.whl |
Total release size: 19.1 kB
Release files / cdmclient-1.3.0.tar.gz
| Download URL | cdmclient-1.3.0.tar.gz |
|---|---|
| Size | 8.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c82d4f75d90bde4fcfba8dbe05d296611f70937f9ebb8016b9a27755431fcd9c
|
|
BLAKE2b-256 checksum How to use checksums |
6380f333af016cfc6a4b6a00a3664ea2509ba040a8a384de64db566300663c0d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.18 {"installer":{"name":"uv","version":"0.12.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / cdmclient-1.3.0-py3-none-any.whl
| Download URL | cdmclient-1.3.0-py3-none-any.whl |
|---|---|
| Size | 10.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ece12ad0218c6ba76ffecb999333a002fb7d8450de29f1098a410b92811be243
|
|
BLAKE2b-256 checksum How to use checksums |
64ad66643af30d4d4723c673f049b3290c8f20d585083a68bc63b7dee947c490
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.18 {"installer":{"name":"uv","version":"0.12.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for cdmclient 1.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.