Let Transmission and HaH upload completed torrents to Cloud Drive.
You have to setup wcpan.drive first.
Modify Transmission settings:
{
"script-torrent-done-enabled": true,
"script-torrent-done-filename": "/path/to/scripts/notify.sh",
}
Transmission must be able to execute the script, watch out permission problem.
Look duld.example.yaml
and create your own configuration.
python3 -m duld --settings=duld.yaml
# prepare .env first
cp .env.example .env
docker compose build
docker compose up
Upload all completed torrents.
200 - a list of torrent ID, in JSON
Upload torrent by ID.
204 - success 400 - invalid torrent ID