Cookie for Transmission-remote

Feature requests not specific to either the Mac OS X or GTK+ versions of Transmission
Post Reply
Richy_T
Posts: 27
Joined: Sat May 12, 2012 5:13 pm

Cookie for Transmission-remote

Post by Richy_T »

I want a cookie for transmission-remote so that I don't have to keep on using the username:password thing on the command line (I actually have an alias that includes it but it's the principle). I'll probably code it myself but I wanted to see if anyone had any input on the idea.
blacke4dawn
Posts: 552
Joined: Sun Dec 13, 2009 10:44 pm

Re: Cookie for Transmission-remote

Post by blacke4dawn »

Small part from "transmission-remote --help":

Code: Select all

 -ne  --authenv                            Set authentication info from the
                                           TR_AUTH environment variable
                                           (user:pw)
 -N   --netrc                  <file>      Set authentication info from a .netrc
                                           file
Not sure if the .netrc option uses a default location but otherwise it would be simple to just extend it for that.

As for TR_AUTH, just export it from .bashrc (or the equivalent for whatever shell you're using).
Richy_T
Posts: 27
Joined: Sat May 12, 2012 5:13 pm

Re: Cookie for Transmission-remote

Post by Richy_T »

I'm not really a big fan of storing passwords *anywhere* though (Though since transmission is single user and can be a unique password, not such a big deal but still...). Plus, ideally, it should be by default, not requiring a command line option.
Post Reply