mirror of
https://github.com/transmission/transmission.git
synced 2026-02-15 07:26:49 +00:00
feat: add torrent priority to completion script env vars (#6629)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user