mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-13 16:52:56 -07:00
Added the Movie Sender, Movies will be sent to Radarr now #865
This commit is contained in:
parent
2c4ef05af1
commit
4c797733ca
13 changed files with 223 additions and 59 deletions
27
src/Ombi.Api.Radarr/Models/RadarrAddMovie.cs
Normal file
27
src/Ombi.Api.Radarr/Models/RadarrAddMovie.cs
Normal file
|
@ -0,0 +1,27 @@
|
|||
using System.Collections.Generic;
|
||||
|
||||
namespace Ombi.Api.Radarr.Models
|
||||
{
|
||||
public class RadarrAddMovieResponse
|
||||
{
|
||||
|
||||
public RadarrAddMovieResponse()
|
||||
{
|
||||
images = new List<string>();
|
||||
}
|
||||
public RadarrError Error { get; set; }
|
||||
public RadarrAddOptions addOptions { get; set; }
|
||||
public string title { get; set; }
|
||||
public string rootFolderPath { get; set; }
|
||||
public int qualityProfileId { get; set; }
|
||||
public bool monitored { get; set; }
|
||||
public int tmdbId { get; set; }
|
||||
public List<string> images { get; set; }
|
||||
public string cleanTitle { get; set; }
|
||||
public string imdbId { get; set; }
|
||||
public string titleSlug { get; set; }
|
||||
public int id { get; set; }
|
||||
public int year { get; set; }
|
||||
|
||||
}
|
||||
}
|
9
src/Ombi.Api.Radarr/Models/RadarrAddOptions.cs
Normal file
9
src/Ombi.Api.Radarr/Models/RadarrAddOptions.cs
Normal file
|
@ -0,0 +1,9 @@
|
|||
namespace Ombi.Api.Radarr.Models
|
||||
{
|
||||
public class RadarrAddOptions
|
||||
{
|
||||
public bool ignoreEpisodesWithFiles { get; set; }
|
||||
public bool ignoreEpisodesWithoutFiles { get; set; }
|
||||
public bool searchForMovie { get; set; }
|
||||
}
|
||||
}
|
21
src/Ombi.Api.Radarr/Models/RadarrError.cs
Normal file
21
src/Ombi.Api.Radarr/Models/RadarrError.cs
Normal file
|
@ -0,0 +1,21 @@
|
|||
namespace Ombi.Api.Radarr.Models
|
||||
{
|
||||
public class RadarrError
|
||||
{
|
||||
public string message { get; set; }
|
||||
public string description { get; set; }
|
||||
}
|
||||
|
||||
public class RadarrErrorResponse
|
||||
{
|
||||
public string propertyName { get; set; }
|
||||
public string errorMessage { get; set; }
|
||||
public object attemptedValue { get; set; }
|
||||
public FormattedMessagePlaceholderValues formattedMessagePlaceholderValues { get; set; }
|
||||
}
|
||||
public class FormattedMessagePlaceholderValues
|
||||
{
|
||||
public string propertyName { get; set; }
|
||||
public object propertyValue { get; set; }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue