mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-18 23:48:35 +02:00
16 lines
440 B
C#
16 lines
440 B
C#
|
using System.Collections.Generic;
|
||
|
using NzbDrone.Core.Tv;
|
||
|
using System.Linq;
|
||
|
|
||
|
namespace NzbDrone.Core.Parser.Model
|
||
|
{
|
||
|
public class LocalEpisode
|
||
|
{
|
||
|
//public ParsedEpisodeInfo ParsedEpisodeInfo { 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(); } }
|
||
|
|
||
|
}
|
||
|
}
|