mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-16 02:02:55 -07:00
Added the minimumAvailability #865
This commit is contained in:
parent
74f3e0f143
commit
b8f20cc187
10 changed files with 39 additions and 13 deletions
|
@ -53,7 +53,7 @@ namespace Ombi.Api.Radarr
|
|||
return await Api.Request<List<MovieResponse>>(request);
|
||||
}
|
||||
|
||||
public async Task<RadarrAddMovieResponse> AddMovie(int tmdbId, string title, int year, int qualityId, string rootPath, string apiKey, string baseUrl, bool searchNow = false)
|
||||
public async Task<RadarrAddMovieResponse> AddMovie(int tmdbId, string title, int year, int qualityId, string rootPath, string apiKey, string baseUrl, bool searchNow, string minimumAvailability)
|
||||
{
|
||||
var request = new Request("/api/movie", baseUrl, HttpMethod.Post);
|
||||
|
||||
|
@ -65,7 +65,8 @@ namespace Ombi.Api.Radarr
|
|||
rootFolderPath = rootPath,
|
||||
titleSlug = title,
|
||||
monitored = true,
|
||||
year = year
|
||||
year = year,
|
||||
minimumAvailability = minimumAvailability,
|
||||
};
|
||||
|
||||
if (searchNow)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue