Added the Movie Sender, Movies will be sent to Radarr now #865

This commit is contained in:
Jamie.Rees 2017-06-07 15:07:41 +01:00
parent 2c4ef05af1
commit 4c797733ca
13 changed files with 223 additions and 59 deletions

View 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; }
}
}

View 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; }
}
}

View 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; }
}
}