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.0

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.0
File Size Uploaded
cdmctl-1.6.0.tar.gz 8.6 kB Details

Built distribution (wheel)

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

Total release size: 18.3 kB

Release files / cdmctl-1.6.0.tar.gz

Download URL cdmctl-1.6.0.tar.gz
Size 8.6 kB
Tags Source
SHA-256 checksum
How to use checksums
e753b050f20d91499ac8115d2674aae04707ae46333f5d1fb23769a8f3914b33
BLAKE2b-256 checksum
How to use checksums
d18a1e944fd2a34a82d0addd10f7c0c674cf95554682e0c036f196c9383bee81
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.0-py3-none-any.whl

Download URL cdmctl-1.6.0-py3-none-any.whl
Size 9.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
21eb1fbe2d1f72bdc003e72eaceabc4767a6eb79af1d74e13e22915e504827aa
BLAKE2b-256 checksum
How to use checksums
946399974bf31029d4afff8c6bdb88f2bd685408c4f79dccd853661a4271551a
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

1.6.1

2 release files

This release

1.6.0 This release

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