Skip to main content

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 and check for new torrent files to download. If new torrents are available, they are downloaded and added to Transmission using the transmission-rpc library.

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:

  1. 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
    
  2. Reload systemd and enable the service:

    sudo systemctl daemon-reload
    sudo systemctl enable cdm-client.service
    sudo systemctl start 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://cdm.test.com"
api_key = "1409d6ed79280aadcbe20f8f21981e89"
rpc_user = "admin"
rpc_password = "admin"

Configuration Details:

  • server_host: The full URL of the CDM Server (e.g., https://cdm.server.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.
  • rpc_user and rpc_password: Required only if Transmission RPC authentication is enabled. See the Transmission RPC Configuration Guide for more details.

Viewing Logs

To monitor the service logs, use the following command:

journalctl -fu cdm-client

Metadata

Release files for cdmclient 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cdmclient 0.1.5
File Size Uploaded
cdmclient-0.1.5.tar.gz 5.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cdmclient 0.1.5
File Interpreter ABI Platform
cdmclient-0.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 11.4 kB

Release files / cdmclient-0.1.5.tar.gz

Download URL cdmclient-0.1.5.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d68b8d3201a89a8f0544e3306339a1cd35113093471217561f8d8b24921174e9
BLAKE2b-256 checksum
How to use checksums
87327beb0d9fb87283f84f0a3ed775874bcd765cb9e4e9e8ca933cb6ab93b319
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.21

Release files / cdmclient-0.1.5-py3-none-any.whl

Download URL cdmclient-0.1.5-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0034365cdc2e568ab7e9eba3c93ac4f1e0e542c454b586f85434a5b8c077bbc4
BLAKE2b-256 checksum
How to use checksums
6ed5f61bcf21b258334cb0856bea170cfd969c4ae0b2affb18078020e6386df3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.21

Release history Release notifications | RSS feed

1.3.0

2 release files

1.2.7

2 release files

1.2.5

2 release files

1.2.4

2 release files

1.2.3

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

This release

0.1.5 This release

2 release files

0.1.4

2 release files

0.1.3

3 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page