Sonarr/src/NzbDrone.Core/MediaFiles/EpisodeFile.cs

28 lines
890 B
C#
Raw Normal View History

2013-04-01 06:22:16 +00:00
using System;
2013-03-01 07:03:41 +00:00
using NzbDrone.Core.Datastore;
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; }
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; }
public LazyList<Episode> Episodes { get; set; }
2014-07-23 23:43:54 +00:00
public override String ToString()
{
2014-07-23 23:43:54 +00:00
return String.Format("[{0}] {1}", Id, RelativePath);
}
2010-10-12 02:49:27 +00:00
}
2011-04-10 02:44:01 +00:00
}