Usage
dad [-h|-d DOWNLOAD_DIR|-s SECRET_TOKEN|-u USERNAME|-p PASSWORD] start|stop
diana [-h|-u USERNAME|-p PASSWORD] ACTION [ARGUMENTS]
Actions
-
list
β Output the list of active downloads. -
paused
β Output the list of paused downloads. -
stopped
β Output the list of stopped downloads. -
info [--select-file=...] GID ...
β Output informations regarding the given GIDs. -
files GID ...
β Output the files owned by the downloads corresponding to the given GIDs. -
errors
β Output the list of errors. -
stats
β Output download bandwidth statistics. -
add [--select-file=...] ITEM ...
β Download the given items (local or remote URLs to torrents, etc.). -
remove GID ...
β Remove the downloads corresponding to the given GIDs. -
forcerm GID ...
β Forcibly remove the downloads corresponding to the given GIDs. -
pause GID ...
β Pause the downloads corresponding to the given GIDs. -
resume GID ...
β Resume the downloads corresponding to the given GIDs. -
preview [--select-file=...] GID ...
β Preview all the files from all the downloads corresponding to the given GIDs. -
sleep
β Pause all the active downloads. -
wake
β Resume all the paused downloads. -
purge
β Clear the list of stopped downloads and errors. -
clean
β Stop seeding completed downloads.
Environment Variables
DIANA_DOWNLOAD_DIR
β Used by the daemon.DIANA_PREVIEW_COMMAND
β Command used to preview files.DIANA_INFO_COMMAND
β Command used to get file informations.DIANA_SECRET_TOKEN
β Secret RPC authorization token.
All commands receive the partial file as first argument.
Dependencies
- aria2
- python3