When using "script-torrent-added-filename" or "script-torrent-done-filename", is there a way to get the name of the torrent that triggered the script?
I can't seem to find a way to get the added or finished torrent variable. I could parse transmissions log file, but I have it turned off and would rather not take that route. It's also messy trying to ask transmission-remote as it's overly verbose, and difficult to sort the data that way.
There doesn't seem to be an easy way to get the torrent that triggered the script's name.
script-torrent-added-filename Get current torrent name?
Re: script-torrent-added-filename Get current torrent name?
I can answer my own question - environment variables. It's poorly documented, as it's not listed under environment variables - https://github.com/transmission/transmi ... riables.md.
It's hidden in the scripts section.
https://github.com/transmission/transmi ... Scripts.md
It's hidden in the scripts section.
https://github.com/transmission/transmi ... Scripts.md
Re: script-torrent-added-filename Get current torrent name?
Is there a simple way to get the torrent name that triggered the 'script-torrent-added-filename' or 'script-torrent-done-filename' without parsing the log file or using transmission-remote?tonyp wrote: ↑Sat Sep 07, 2024 3:32 am When using "script-torrent-added-filename" or "script-torrent-done-filename", is there a way to get the name of the torrent that triggered the script?
I can't seem to find a way to get the added or finished torrent variable. I could parse transmissions log file, but I have it turned off and would rather not take that route. It's also messy trying to ask transmission-remote as it's overly verbose, and difficult to sort the data that way.
There doesn't seem to be an easy way to get the torrent that triggered the script's name.