2013-04-01 06:22:16 +00:00
|
|
|
|
using System;
|
2013-03-01 07:03:41 +00:00
|
|
|
|
using NzbDrone.Core.Datastore;
|
2014-01-18 11:44:36 +00:00
|
|
|
|
using NzbDrone.Core.Qualities;
|
2013-03-01 07:03:41 +00:00
|
|
|
|
using NzbDrone.Core.Tv;
|
2014-04-10 17:58:50 +00:00
|
|
|
|
using NzbDrone.Core.MediaFiles.MediaInfo;
|
2010-10-12 02:49:27 +00:00
|
|
|
|
|
2013-03-01 07:03:41 +00:00
|
|
|
|
namespace NzbDrone.Core.MediaFiles
|
2010-10-12 02:49:27 +00:00
|
|
|
|
{
|
2013-03-01 07:03:41 +00:00
|
|
|
|
public class EpisodeFile : ModelBase
|
2010-10-12 02:49:27 +00:00
|
|
|
|
{
|
2014-07-23 23:43:54 +00:00
|
|
|
|
public Int32 SeriesId { get; set; }
|
|
|
|
|
public Int32 SeasonNumber { get; set; }
|
|
|
|
|
public String RelativePath { get; set; }
|
|
|
|
|
public String Path { get; set; }
|
|
|
|
|
public Int64 Size { get; set; }
|
2010-10-21 01:49:23 +00:00
|
|
|
|
public DateTime DateAdded { get; set; }
|
2014-07-23 23:43:54 +00:00
|
|
|
|
public String SceneName { get; set; }
|
|
|
|
|
public String ReleaseGroup { get; set; }
|
2013-04-01 06:22:16 +00:00
|
|
|
|
public QualityModel Quality { get; set; }
|
2014-04-10 17:58:50 +00:00
|
|
|
|
public MediaInfoModel MediaInfo { get; set; }
|
2013-04-15 01:41:39 +00:00
|
|
|
|
public LazyList<Episode> Episodes { get; set; }
|
2013-07-16 02:56:46 +00:00
|
|
|
|
|
2014-07-23 23:43:54 +00:00
|
|
|
|
public override String ToString()
|
2013-07-16 02:56:46 +00:00
|
|
|
|
{
|
2014-07-23 23:43:54 +00:00
|
|
|
|
return String.Format("[{0}] {1}", Id, RelativePath);
|
2013-07-16 02:56:46 +00:00
|
|
|
|
}
|
2010-10-12 02:49:27 +00:00
|
|
|
|
}
|
2011-04-10 02:44:01 +00:00
|
|
|
|
}
|