feat: add torrent priority to completion script env vars (#6629)

This commit is contained in:
Niccolò Maggioni
2024-03-18 01:43:08 +01:00
committed by GitHub
parent 2548dd478f
commit 86498a71e5
2 changed files with 3 additions and 0 deletions

View File

@@ -27,6 +27,7 @@ Transmission can be set to invoke a script when downloads complete. The environm
* `TR_TORRENT_ID`
* `TR_TORRENT_LABELS` - A comma-delimited list of the torrent's labels
* `TR_TORRENT_NAME` - Name of torrent (not filename)
* `TR_TORRENT_PRIORITY` - The priority of the torrent (Low is "-1", Normal is "0", High is "1")
* `TR_TORRENT_TRACKERS` - A comma-delimited list of the torrent's trackers' announce URLs
[Here is an example script](https://trac.transmissionbt.com/browser/trunk/extras/send-email-when-torrent-done.sh) that sends an email when a torrent finishes.