You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.4 KiB
50 lines
1.4 KiB
using System.Collections.Generic;
|
|
using NzbDrone.Core.Languages;
|
|
using NzbDrone.Core.Qualities;
|
|
|
|
namespace NzbDrone.Core.Parser.Model
|
|
{
|
|
public class ParsedMovieInfo
|
|
{
|
|
public ParsedMovieInfo()
|
|
{
|
|
MovieTitles = new List<string>();
|
|
Languages = new List<Language>();
|
|
}
|
|
|
|
public List<string> MovieTitles { get; set; }
|
|
public string OriginalTitle { get; set; }
|
|
public string ReleaseTitle { get; set; }
|
|
public string SimpleReleaseTitle { get; set; }
|
|
public QualityModel Quality { get; set; }
|
|
public List<Language> Languages { get; set; }
|
|
public string ReleaseGroup { get; set; }
|
|
public string ReleaseHash { get; set; }
|
|
public string Edition { get; set; }
|
|
public int Year { get; set; }
|
|
public string ImdbId { get; set; }
|
|
public int TmdbId { get; set; }
|
|
public string HardcodedSubs { get; set; }
|
|
|
|
public string MovieTitle => PrimaryMovieTitle;
|
|
|
|
public string PrimaryMovieTitle
|
|
{
|
|
get
|
|
{
|
|
if (MovieTitles.Count > 0)
|
|
{
|
|
return MovieTitles[0];
|
|
}
|
|
|
|
return null;
|
|
}
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return string.Format("{0} - {1} {2}", PrimaryMovieTitle, Year, Quality);
|
|
}
|
|
}
|
|
}
|