mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 05:13:18 -07:00
!wip started the searching process
This commit is contained in:
parent
26d620cf01
commit
9156673f88
20 changed files with 151 additions and 106 deletions
|
@ -22,7 +22,7 @@ namespace Ombi.Api.Lidarr
|
|||
|
||||
public Task<List<LidarrProfile>> GetProfiles(string apiKey, string baseUrl)
|
||||
{
|
||||
var request = new Request($"{ApiVersion}/profile", baseUrl, HttpMethod.Get);
|
||||
var request = new Request($"{ApiVersion}/qualityprofile", baseUrl, HttpMethod.Get);
|
||||
|
||||
AddHeaders(request, apiKey);
|
||||
return Api.Request<List<LidarrProfile>>(request);
|
||||
|
|
|
@ -2,12 +2,6 @@
|
|||
|
||||
namespace Ombi.Api.Lidarr.Models
|
||||
{
|
||||
public class Cutoff
|
||||
{
|
||||
public int id { get; set; }
|
||||
public string name { get; set; }
|
||||
}
|
||||
|
||||
public class Quality
|
||||
{
|
||||
public int id { get; set; }
|
||||
|
@ -23,9 +17,7 @@ namespace Ombi.Api.Lidarr.Models
|
|||
public class LidarrProfile
|
||||
{
|
||||
public string name { get; set; }
|
||||
public Cutoff cutoff { get; set; }
|
||||
public List<Item> items { get; set; }
|
||||
public string language { get; set; }
|
||||
public int id { get; set; }
|
||||
}
|
||||
}
|
|
@ -7,6 +7,6 @@
|
|||
public int trackCount { get; set; }
|
||||
public int totalTrackCount { get; set; }
|
||||
public int sizeOnDisk { get; set; }
|
||||
public int percentOfTracks { get; set; }
|
||||
public decimal percentOfTracks { get; set; }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue