Skip to main content

CDM Server CLI

Command-line interface for CDM Server.

Installation

pip install cdmctl

Quick Start

cdm login --server https://your-cdm-server.com
cdm search --pattern "inception"
cdm download --torrent-id 12345 --device-id 1

Commands

Command Description
cdm version Show CLI version
cdm login Login and save credentials
cdm logout Clear stored tokens
cdm whoami Show current user
cdm search Search torrents on nCore
cdm download Queue a torrent for download
cdm users User management (admin)
cdm devices Device management
cdm status Download status & control
cdm tmdb Browse and search TMDB
cdm wishlist Manage wishlist

Run cdm <command> --help for options.

JSON output

Pass the global --json flag before the subcommand to get machine-readable output on stdout (tables and colors are suppressed). Read commands print the data as-is; mutating commands print {"ok": true|false, "message": "..."}.

cdm --json wishlist list | jq '.items[].title'
cdm --json status --device 1 | jq '.torrents | length'
cdm --json devices list

Wishlist

Add movies by IMDB ID; the server retries weekly until the torrent appears on nCore.

cdm wishlist types                                              # list quality types
cdm wishlist add --imdb-id tt1375666 --device-id 1 --type hd_hun
cdm wishlist list                                               # also shows last availability check
cdm wishlist start                                              # re-check every item now
cdm wishlist delete --item-id 3

Release files for cdmctl 1.6.1

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

Source distribution (sdist)

Source distribution for cdmctl 1.6.1
File Size Uploaded
cdmctl-1.6.1.tar.gz 8.6 kB Details

Built distribution (wheel)

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

Total release size: 18.3 kB

Release files / cdmctl-1.6.1.tar.gz

Download URL cdmctl-1.6.1.tar.gz
Size 8.6 kB
Tags Source
SHA-256 checksum
How to use checksums
3a1447fcc3095cac9e42c5693aca5352379b4418ddd205936c8d6fa21360f7f5
BLAKE2b-256 checksum
How to use checksums
f4e447fe981b12fd818004116263278e1cf86a5326d0664bd83341ef23fde575
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","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 / cdmctl-1.6.1-py3-none-any.whl

Download URL cdmctl-1.6.1-py3-none-any.whl
Size 9.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4d7424c3bd64b20e30796999307bb820fcc57e13f0a796069a836cbeb5b3f6de
BLAKE2b-256 checksum
How to use checksums
fd6177e34208f03afee06062c79be4ea6194fb527e1f4e4e11ba58cf8fb9d037
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","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 history Release notifications | RSS feed

This release

1.6.1 This release

2 release files

1.6.0

2 release files

1.5.6

2 release files

1.5.5

2 release files

1.5.4

2 release files

1.5.3

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