From 3ff8b1750f985a92160cfa64b305322329a2e23e Mon Sep 17 00:00:00 2001 From: Colin Date: Thu, 20 Mar 2025 06:57:37 +0000 Subject: [PATCH] servo: transmission/torrent-done: document more of the env vars available --- .../servo/services/transmission/torrent-done | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/hosts/by-name/servo/services/transmission/torrent-done b/hosts/by-name/servo/services/transmission/torrent-done index 2cccf0303..9a76414e1 100755 --- a/hosts/by-name/servo/services/transmission/torrent-done +++ b/hosts/by-name/servo/services/transmission/torrent-done @@ -3,8 +3,20 @@ # transmission invokes this with no args, and the following env vars: # - TR_TORRENT_DIR: full path to the folder i told transmission to download it to. -# e.g. /var/media/torrents/Videos/Film/Jason.Bourne-2016 -# optionally: +# e.g. "/var/media/torrents/Videos/Film/Jason.Bourne-2016" +# - TR_APP_VERSION +# - TR_TIME_LOCALTIME +# - TR_TORRENT_BYTES_DOWNLOADED +# - TR_TORRENT_HASH +# - TR_TORRENT_ID: local number to uniquely identify this torrent, used by e.g. transmission-remote. +# e.g. "67" +# - TR_TORRENT_LABELS +# - TR_TORRENT_NAME: file/folder name of the toplevel torrent item +# e.g. "Jason Bourne (2016) [2160p] [4K] [BluRay] [5.1] [YTS.MX]" +# - TR_TORRENT_PRIORITY +# - TR_TORRENT_TRACKERS + +# optionally, set these variables for debugging (these are specific to my script and not used upstream): # - TR_DRY_RUN=1 # - TR_DEBUG=1