It's not clear from the limited documentation whether the `--torrent-done-script` option to `transmission-remote` works globally, in a way specific to a particular torrent or torrents, or whether it can be applied in either of these fashions. There's no indication from either `transmission-remote -si` or `transmission-remote -t$n -i` that a torrent-done-script has been set, so I'm not sure how to figure this out without source-diving. FWIW it would be great to be able to specify a done script on either a global or torrent-specific basis and for transmission to remember what scripts go with which torrents across restarts.
Maybe this should be evident based on a more general pattern that I'm not aware of? It's kind of hard to figure out where this is actually documented: the manpage is fairly sparse, but the options (mostly) correspond to config file entries, which seem to be documented here, but without the info I mentioned above. In my version of the manpage (ubuntu 10.10's current `transmission-daemon` package, version 2.05-0ubuntu0.2), the --torrent-done-script is not actually documented, however when I run `transmission-remote -h` I see the terse description of that option. Google doesn't give much in the way of info either.
Anyway, thanks for any help that you can provide.
scope of `--torrent-done-script` option
Re: scope of `--torrent-done-script` option
in settings.json if
"script-torrent-done-enabled": true,
it is a global setting, i.e., it runs on completion all of torrents.
"script-torrent-done-enabled": true,
it is a global setting, i.e., it runs on completion all of torrents.
Re: scope of `--torrent-done-script` option
Okay, thanks. Are you also saying that it doesn't also have a per-torrent mode? Some of the options, like for example `-d`, can be used both as global options and to control per-torrent behaviour. It would make sense semantically for `--torrent-done-script` to work this way.
Last edited by intuited on Tue Apr 26, 2011 4:03 am, edited 1 time in total.
Re: scope of `--torrent-done-script` option
no i'm almost positive it can't be set on a per-torrent basis .. the script-done feature is a Global option.
Re: scope of `--torrent-done-script` option
Okay. Should I submit a bug report on the documentation? Or is this obvious to most people?
Re: scope of `--torrent-done-script` option
oh you should definetely fill a bug and also one about having a per torrent behaviour with and also one about sending the script some parameters etc
oh ok nvm : https://trac.transmissionbt.com/wiki/Scripts
oh ok nvm : https://trac.transmissionbt.com/wiki/Scripts