2013-04-15 04:41:39 +03:00
|
|
|
using System.Collections.Generic;
|
|
|
|
using NzbDrone.Core.Tv;
|
|
|
|
using System.Linq;
|
|
|
|
|
|
|
|
namespace NzbDrone.Core.Parser.Model
|
|
|
|
{
|
|
|
|
public class LocalEpisode
|
|
|
|
{
|
2013-07-08 06:17:07 +03:00
|
|
|
public string Path { get; set; }
|
|
|
|
|
|
|
|
public ParsedEpisodeInfo ParsedEpisodeInfo { get; set; }
|
|
|
|
|
2013-07-07 00:47:49 +03:00
|
|
|
public Series Series { get; set; }
|
|
|
|
|
2013-04-15 04:41:39 +03:00
|
|
|
public List<Episode> Episodes { get; set; }
|
|
|
|
|
|
|
|
public QualityModel Quality { get; set; }
|
2013-07-07 00:47:49 +03:00
|
|
|
|
2013-04-15 04:41:39 +03:00
|
|
|
public int SeasonNumber { get { return Episodes.Select(c => c.SeasonNumber).Distinct().Single(); } }
|
|
|
|
}
|
|
|
|
}
|