mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-06 04:52:21 -07:00
New: Add qBittorrent API V2 support, Indexer seed limit Support (#653)
* Fixed: qBittorrent api v2 support (qbit v4.1+) Co-Authored-By: taloth <taloth@users.noreply.github.com> Co-Authored-By: Mark Bebbington <mark@thebebs.uk> * Fixed: Magnet Link progress visualisation and adding magnet links if dht is disabled in qBittorrent * New: Indexer Seed Limit settings applied to new downloads for qBit Co-Authored-By: taloth <taloth@users.noreply.github.com> * Handle Deluge v2 beta breaking change in their api. closes #2412 * Fixed: Codacy Format Issues
This commit is contained in:
parent
61b0b2681a
commit
1e48ea58b0
11 changed files with 791 additions and 119 deletions
|
@ -75,11 +75,12 @@ namespace NzbDrone.Common.Test.Http
|
|||
[Test]
|
||||
public void should_execute_typed_get()
|
||||
{
|
||||
var request = new HttpRequest($"http://{_httpBinHost}/get");
|
||||
var request = new HttpRequest($"http://{_httpBinHost}/get?test=1");
|
||||
|
||||
var response = Subject.Get<HttpBinResource>(request);
|
||||
|
||||
response.Resource.Url.Should().Be(request.Url.FullUri);
|
||||
response.Resource.Url.EndsWith("/get?test=1");
|
||||
response.Resource.Args.Should().Contain("test", "1");
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
@ -646,6 +647,7 @@ namespace NzbDrone.Common.Test.Http
|
|||
|
||||
public class HttpBinResource
|
||||
{
|
||||
public Dictionary<string, object> Args { get; set; }
|
||||
public Dictionary<string, object> Headers { get; set; }
|
||||
public string Origin { get; set; }
|
||||
public string Url { get; set; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue