Skip to main content

Synology Download Station url adder.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ds-down-0.2.1.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

ds-down-0.2.1.linux-x86_64.tar.gz (10.0 kB view details)

Uploaded Source

File details

Details for the file ds-down-0.2.1.tar.gz.

File metadata

  • Download URL: ds-down-0.2.1.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ds-down-0.2.1.tar.gz
Algorithm Hash digest
SHA256 5cf08a1ef5538e0083807c8c173ea2b554a570653457c430e9e2f6ab0d6722fd
MD5 48747d277f221c82378ea8cf2037ff38
BLAKE2b-256 a810cd1b4e627ace0e45ddf2f50263aca3d20148d52e47dc80da3c14ca0f56f4

See more details on using hashes here.

File details

Details for the file ds-down-0.2.1.linux-x86_64.tar.gz.

File metadata

File hashes

Hashes for ds-down-0.2.1.linux-x86_64.tar.gz
Algorithm Hash digest
SHA256 82d4e459adfde8a93731bc0e89c629c3c1f0e3a6e84dc54c2178833627c8871e
MD5 07b30790d15377d29e1b799a869f0ee6
BLAKE2b-256 6eaea35838a16a11806ea1693fe2b6feba1e3b79cff389b49b414a9d683eb55a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page