|
|
@ -462,7 +462,7 @@ public class TransmissionAdapter implements IDaemonAdapter { |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
private String buildWebUIUrl() { |
|
|
|
private String buildWebUIUrl() { |
|
|
|
String folder = "/transmission"; |
|
|
|
String folder = "/transmission"; |
|
|
|
if (settings.getFolder() == null || settings.getFolder().trim().isEmpty()) { |
|
|
|
if (settings.getFolder() != null && !settings.getFolder().trim().equals("")) { |
|
|
|
// Allow the user's folder setting to override /transmission (as per Transmission's rpc-url option)
|
|
|
|
// Allow the user's folder setting to override /transmission (as per Transmission's rpc-url option)
|
|
|
|
folder = settings.getFolder().trim(); |
|
|
|
folder = settings.getFolder().trim(); |
|
|
|
// Strip any trailing slashes
|
|
|
|
// Strip any trailing slashes
|
|
|
|