Tool to remove unregistered download tasks in Synology Download Station.
An unregistered download task is a torrent where its tracker status is Unregistered torrent.
Requires DSM 7 or later.
$ npm install -g dscleanThe following environment variables must be set for the dsclean command:
| Variable | Description | Default/Required |
|---|---|---|
| HOST | Host of the Synology NAS where Download Station is installed | http://localhost:5000 |
| USERNAME | Username on HOST with appropriate Download Station permissions |
Required |
| PASSWORD | Password for USERNAME |
Required |
Lists all unregistered download tasks that USERNAME has access to on HOST.
$ dsclean
2 unregistered downloads:
ubuntu-22.04.1-desktop-amd64.iso
ubuntu-22.10-desktop-amd64.isoDeletes all unregistered download tasks that USERNAME has access to on HOST.
$ dsclean --delete
2 downloads deleted:
ubuntu-22.04.1-desktop-amd64.iso deleted
ubuntu-22.10-desktop-amd64.iso deleted