New: Readarr 0.1

This commit is contained in:
ta264
2020-05-06 21:14:11 +01:00
parent 476f2d6047
commit 08496c82af
911 changed files with 14837 additions and 24442 deletions
@@ -11,9 +11,9 @@ namespace NzbDrone.Integration.Test.Client
{
}
public List<AlbumResource> GetAlbumsInArtist(int artistId)
public List<AlbumResource> GetAlbumsInArtist(int authorId)
{
var request = BuildRequest("?artistId=" + artistId.ToString());
var request = BuildRequest("?authorId=" + authorId.ToString());
return Get<List<AlbumResource>>(request);
}
}
@@ -1,20 +0,0 @@
using System.Collections.Generic;
using Readarr.Api.V1.Tracks;
using RestSharp;
namespace NzbDrone.Integration.Test.Client
{
public class TrackClient : ClientBase<TrackResource>
{
public TrackClient(IRestClient restClient, string apiKey)
: base(restClient, apiKey, "track")
{
}
public List<TrackResource> GetTracksInArtist(int artistId)
{
var request = BuildRequest("?artistId=" + artistId.ToString());
return Get<List<TrackResource>>(request);
}
}
}