@ -20,10 +20,13 @@ class Rtorrent(private val configuration: Configuration) :
@@ -20,10 +20,13 @@ class Rtorrent(private val configuration: Configuration) :
Feature.Listing,
Feature.StartingStopping,
Feature.ResumingPausing,
//Feature.AddByFile,
Feature.AddByFile,
Feature.AddByUrl,
Feature.AddByMagnet{
privatevalxmlrpcSizeMinimum=2*1024*1024
privatevalxmlrpcSizePadding=1280
privatevalservice:Service=Retrofit.Builder()
.baseUrl(configuration.baseUrl)
.client(OkHttpBuilder.build(configuration))
@ -61,7 +64,7 @@ class Rtorrent(private val configuration: Configuration) :
@@ -61,7 +64,7 @@ class Rtorrent(private val configuration: Configuration) :
.cache()// Cached, as it is often used but 'never' changes
}
@ -139,7 +142,7 @@ class Rtorrent(private val configuration: Configuration) :
@@ -139,7 +142,7 @@ class Rtorrent(private val configuration: Configuration) :
@ -149,7 +152,7 @@ class Rtorrent(private val configuration: Configuration) :
@@ -149,7 +152,7 @@ class Rtorrent(private val configuration: Configuration) :
@ -157,6 +160,20 @@ class Rtorrent(private val configuration: Configuration) :
@@ -157,6 +160,20 @@ class Rtorrent(private val configuration: Configuration) :