Skip to main content

ds-down is a Python 3 program to send URLs and local files to Synology DownloadStation using aforementioned DownloadStations Web API (API pdf).

The main intended use-case is from console and a desktop file for xdg-open or similar tools is provided.

Example config file:

# Example config file, by default it should be located at:
# ~/.config/ds-down.conf

username     = admin
host         = https://192.168.1.10:5001
passwordeval = gpg --no-tty -d ~/.passwords/synology-admin.gpg

Examples

Send a magnet link to the DownloadStation:

$ ds-down 'magnet:?xt=urn:btih:dbd7d976a5bf566504357bf9f543a37d3513e4df&dn=archlinux-2014.07.03-dual.iso&tr=udp://tracker.archlinux.org:6969&tr=http://tracker.archlinux.org:6969/announce'

Send a locally stored torrent file to the DownloadStation:

$ ds-down 'archlinux-2014.07.03-dual.iso.torrent'

Install

Example of a simple user install with from source:

python3 setup.py install --exec_name="ds_down" --user

The executable console script name can be controlled with the ´–exec_name=´ argument. The default is ´ds_down´. The executable script in this example is placed in ´$HOME/.local/bin´ which can be added to the PATH variable if needed. This also installs needed dependencies.

PyPI Install

Alternatively last published version can be installed from PyPI with pip:

pip3 install --user ds-down

Release files for ds-down 0.2.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 ds-down 0.2.1
File Size Uploaded
ds-down-0.2.1.tar.gz 6.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ds-down 0.2.1
File Interpreter ABI Platform
ds-down-0.2.1.linux-x86_64.tar.gz Details

Total release size: 16.8 kB

Release files / ds-down-0.2.1.tar.gz

Download URL ds-down-0.2.1.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
5cf08a1ef5538e0083807c8c173ea2b554a570653457c430e9e2f6ab0d6722fd
BLAKE2b-256 checksum
How to use checksums
a810cd1b4e627ace0e45ddf2f50263aca3d20148d52e47dc80da3c14ca0f56f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / ds-down-0.2.1.linux-x86_64.tar.gz

Download URL ds-down-0.2.1.linux-x86_64.tar.gz
Size 10.0 kB
Tags Source
SHA-256 checksum
How to use checksums
82d4e459adfde8a93731bc0e89c629c3c1f0e3a6e84dc54c2178833627c8871e
BLAKE2b-256 checksum
How to use checksums
6eaea35838a16a11806ea1693fe2b6feba1e3b79cff389b49b414a9d683eb55a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2

2 release files

0.1

1 release file

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