mirror of https://github.com/Radarr/Radarr
44 lines
1.2 KiB
C#
44 lines
1.2 KiB
C#
using System.Collections.Generic;
|
|
using NzbDrone.Core.CustomFormats;
|
|
using NzbDrone.Core.Download.Clients;
|
|
using NzbDrone.Core.Languages;
|
|
using NzbDrone.Core.Movies;
|
|
|
|
namespace NzbDrone.Core.Parser.Model
|
|
{
|
|
public class RemoteMovie
|
|
{
|
|
public ReleaseInfo Release { get; set; }
|
|
public ParsedMovieInfo ParsedMovieInfo { get; set; }
|
|
public List<CustomFormat> CustomFormats { get; set; }
|
|
public int CustomFormatScore { get; set; }
|
|
public MovieMatchType MovieMatchType { get; set; }
|
|
public Movie Movie { get; set; }
|
|
public bool DownloadAllowed { get; set; }
|
|
public TorrentSeedConfiguration SeedConfiguration { get; set; }
|
|
public List<Language> Languages { get; set; }
|
|
public ReleaseSourceType ReleaseSource { get; set; }
|
|
|
|
public RemoteMovie()
|
|
{
|
|
CustomFormats = new List<CustomFormat>();
|
|
Languages = new List<Language>();
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return Release.Title;
|
|
}
|
|
}
|
|
|
|
public enum ReleaseSourceType
|
|
{
|
|
Unknown = 0,
|
|
Rss = 1,
|
|
Search = 2,
|
|
UserInvokedSearch = 3,
|
|
InteractiveSearch = 4,
|
|
ReleasePush = 5
|
|
}
|
|
}
|