junalmeida/Sick-Beard — pull request #214 by ak0ska (2014-11-04 19:25:33+00:00)
Title: Support custom URIs for Transmission

Previously the user provided transmission address was trimmed, and only the
hostname and port was used when creating the transmissionrpc client, which uses
the default '/tranmission/rpc' path in this case. Now the scheme, port, and the
path is also passed when creating the client, which parses this information, and
looks for tranmission at the address specified by the user.

My example: http://localhost:9091/torrent/rpc/
WIthout this change only localhost and 9091 is going into constructing the transmissionrpc client.
Cutting off the scheme makes the client use the default /tranmission/rpc/. But if the scheme is provided the constructor parses the address for the port, instead of using the one supplied in the parameter.