@ -253,9 +252,11 @@ public class BitCometAdapter implements IDaemonAdapter {
@@ -253,9 +252,11 @@ public class BitCometAdapter implements IDaemonAdapter {
@ -271,9 +272,7 @@ public class BitCometAdapter implements IDaemonAdapter {
@@ -271,9 +272,7 @@ public class BitCometAdapter implements IDaemonAdapter {
@ -140,9 +140,7 @@ public class BitfluAdapter implements IDaemonAdapter {
@@ -140,9 +140,7 @@ public class BitfluAdapter implements IDaemonAdapter {
try{
// Initialise the HTTP client
if(httpclient==null){
initialise();
}
// TLog.d(LOG_NAME, "Request to: "+ buildWebUIUrl() + addToUrl);
@ -268,10 +266,11 @@ public class BitfluAdapter implements IDaemonAdapter {
@@ -268,10 +266,11 @@ public class BitfluAdapter implements IDaemonAdapter {
@ -174,9 +173,7 @@ public class BuffaloNasAdapter implements IDaemonAdapter {
@@ -174,9 +173,7 @@ public class BuffaloNasAdapter implements IDaemonAdapter {
try{
// Initialise the HTTP client
if(httpclient==null){
initialise();
}
// Add the parameters to the query string
booleanfirst=true;
@ -251,9 +248,10 @@ public class BuffaloNasAdapter implements IDaemonAdapter {
@@ -251,9 +248,10 @@ public class BuffaloNasAdapter implements IDaemonAdapter {
@ -234,9 +233,7 @@ public class DLinkRouterBTAdapter implements IDaemonAdapter {
@@ -234,9 +233,7 @@ public class DLinkRouterBTAdapter implements IDaemonAdapter {
try{
// Initialise the HTTP client
if(httpclient==null){
initialise();
}
// Setup request using POST stream with URL and data
@ -304,9 +301,11 @@ public class DLinkRouterBTAdapter implements IDaemonAdapter {
@@ -304,9 +301,11 @@ public class DLinkRouterBTAdapter implements IDaemonAdapter {
@ -478,9 +473,7 @@ public class DelugeAdapter implements IDaemonAdapter {
@@ -478,9 +473,7 @@ public class DelugeAdapter implements IDaemonAdapter {
try{
// Initialise the HTTP client
if(httpclient==null){
initialise();
}
// Login first?
if(sessionCookie==null){
@ -582,11 +575,11 @@ public class DelugeAdapter implements IDaemonAdapter {
@@ -582,11 +575,11 @@ public class DelugeAdapter implements IDaemonAdapter {
@ -464,13 +463,11 @@ public class KTorrentAdapter implements IDaemonAdapter {
@@ -464,13 +463,11 @@ public class KTorrentAdapter implements IDaemonAdapter {
@ -587,7 +586,7 @@ public class QBittorrentAdapter implements IDaemonAdapter {
@@ -587,7 +586,7 @@ public class QBittorrentAdapter implements IDaemonAdapter {
@ -328,9 +326,7 @@ public class RTorrentAdapter implements IDaemonAdapter {
@@ -328,9 +326,7 @@ public class RTorrentAdapter implements IDaemonAdapter {
throwsDaemonException,MalformedURLException{
// Initialise the HTTP client
if(rpcclient==null){
initialise();
}
StringBuilderparamsBuilder=newStringBuilder();
for(Objectarg:arguments){
@ -365,14 +361,13 @@ public class RTorrentAdapter implements IDaemonAdapter {
@@ -365,14 +361,13 @@ public class RTorrentAdapter implements IDaemonAdapter {
@ -84,10 +83,17 @@ public class SynologyAdapter implements IDaemonAdapter {
@@ -84,10 +83,17 @@ public class SynologyAdapter implements IDaemonAdapter {
@ -425,13 +431,6 @@ public class SynologyAdapter implements IDaemonAdapter {
@@ -425,13 +431,6 @@ public class SynologyAdapter implements IDaemonAdapter {
@ -502,7 +501,7 @@ public class SynologyAdapter implements IDaemonAdapter {
@@ -502,7 +501,7 @@ public class SynologyAdapter implements IDaemonAdapter {
@ -523,7 +522,7 @@ public class SynologyAdapter implements IDaemonAdapter {
@@ -523,7 +522,7 @@ public class SynologyAdapter implements IDaemonAdapter {
@ -233,9 +232,7 @@ public class TTorrentAdapter implements IDaemonAdapter {
@@ -233,9 +232,7 @@ public class TTorrentAdapter implements IDaemonAdapter {
@ -267,9 +264,11 @@ public class TTorrentAdapter implements IDaemonAdapter {
@@ -267,9 +264,11 @@ public class TTorrentAdapter implements IDaemonAdapter {
@ -403,9 +402,7 @@ public class TransmissionAdapter implements IDaemonAdapter {
@@ -403,9 +402,7 @@ public class TransmissionAdapter implements IDaemonAdapter {
// Setup request using POST stream with URL and data
@ -477,9 +474,11 @@ public class TransmissionAdapter implements IDaemonAdapter {
@@ -477,9 +474,11 @@ public class TransmissionAdapter implements IDaemonAdapter {
@ -226,9 +226,7 @@ public class VuzeAdapter implements IDaemonAdapter {
@@ -226,9 +226,7 @@ public class VuzeAdapter implements IDaemonAdapter {
// TODO: It would be nicer to now split each of these steps into separate makeVuzeCalls when there are multiple logical steps such as stopping a torrent before removing it