1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2025-01-19 06:00:27 +00:00
Radarr/NzbDrone.Core/Parser/Model/LocalEpisode.cs
2013-07-07 20:17:07 -07:00

21 lines
No EOL
525 B
C#

using System.Collections.Generic;
using NzbDrone.Core.Tv;
using System.Linq;
namespace NzbDrone.Core.Parser.Model
{
public class LocalEpisode
{
public string Path { get; set; }
public ParsedEpisodeInfo ParsedEpisodeInfo { get; set; }
public Series Series { get; set; }
public List<Episode> Episodes { get; set; }
public QualityModel Quality { get; set; }
public int SeasonNumber { get { return Episodes.Select(c => c.SeasonNumber).Distinct().Single(); } }
}
}