diff options
| author | Jonathan McCrohan <jmccrohan@gmail.com> | 2012-11-17 12:41:41 +0000 | 
|---|---|---|
| committer | Jonathan McCrohan <jmccrohan@gmail.com> | 2012-11-17 12:41:41 +0000 | 
| commit | de54cb222594348684fac1a242cc9e7fdc744756 (patch) | |
| tree | e8786ee7d71f0d8f0a56f56815a83d62ad730ebe | |
| parent | 897fc0f602b60fa1ab80f9fc8e5ce28641e57153 (diff) | |
| parent | 887e719d772e61e473f722f95b4b855902872ff4 (diff) | |
| download | transmission-remote-cli-de54cb222594348684fac1a242cc9e7fdc744756.tar.gz | |
Merge tag 'upstream/1.4.5'
Upstream version 1.4.5
| -rw-r--r-- | NEWS | 5 | ||||
| -rwxr-xr-x | transmission-remote-cli | 5 | 
2 files changed, 8 insertions, 2 deletions
| @@ -1,3 +1,8 @@ +1.4.5  2012-11-07 +    BUGFIXES: +        - Fix forwarding CLI args to transmission-remote + +  1.4.4  2012-10-30      BUGFIXES:          - Fix crash when changing priority of all files of a torrent diff --git a/transmission-remote-cli b/transmission-remote-cli index 067b22c..668faff 100755 --- a/transmission-remote-cli +++ b/transmission-remote-cli @@ -16,7 +16,7 @@  # http://www.gnu.org/licenses/gpl-3.0.txt                              #  ######################################################################## -VERSION = '1.4.4' +VERSION = '1.4.5'  TRNSM_VERSION_MIN = '1.90'  TRNSM_VERSION_MAX = '2.73' @@ -3237,13 +3237,14 @@ if __name__ == '__main__':          # one argument and it doesn't start with '-' --> treat it like it's a torrent link/url          if len(transmissionremote_args) == 1 and not transmissionremote_args[0].startswith('-'):              cmd.extend(['-a', transmissionremote_args[0]]) +        else: +            cmd.extend(transmissionremote_args)          if config.get('Connection', 'username') and config.get('Connection', 'password'):              cmd_print = cmd              cmd_print.extend(['--auth', '%s:PASSWORD' % config.get('Connection', 'username')])              print "EXECUTING:\n%s\nRESPONSE:" % ' '.join(cmd_print)              cmd.extend(['--auth', '%s:%s' % (config.get('Connection', 'username'), config.get('Connection', 'password'))]) -            cmd.extend(transmissionremote_args)          else:              print "EXECUTING:\n%s\nRESPONSE:" % ' '.join(cmd) | 
