You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.3 KiB
46 lines
1.3 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using NzbDrone.Core.Datastore;
|
|
using NzbDrone.Core.Languages;
|
|
using NzbDrone.Core.Qualities;
|
|
using NzbDrone.Core.Tv;
|
|
|
|
namespace NzbDrone.Core.History
|
|
{
|
|
public class EpisodeHistory : ModelBase
|
|
{
|
|
public const string DOWNLOAD_CLIENT = "downloadClient";
|
|
public const string SERIES_MATCH_TYPE = "seriesMatchType";
|
|
public const string RELEASE_SOURCE = "releaseSource";
|
|
|
|
public EpisodeHistory()
|
|
{
|
|
Data = new Dictionary<string, string>();
|
|
}
|
|
|
|
public int EpisodeId { get; set; }
|
|
public int SeriesId { get; set; }
|
|
public string SourceTitle { get; set; }
|
|
public QualityModel Quality { get; set; }
|
|
public DateTime Date { get; set; }
|
|
public Episode Episode { get; set; }
|
|
public Series Series { get; set; }
|
|
public EpisodeHistoryEventType EventType { get; set; }
|
|
public Dictionary<string, string> Data { get; set; }
|
|
public List<Language> Languages { get; set; }
|
|
public string DownloadId { get; set; }
|
|
}
|
|
|
|
public enum EpisodeHistoryEventType
|
|
{
|
|
Unknown = 0,
|
|
Grabbed = 1,
|
|
SeriesFolderImported = 2,
|
|
DownloadFolderImported = 3,
|
|
DownloadFailed = 4,
|
|
EpisodeFileDeleted = 5,
|
|
EpisodeFileRenamed = 6,
|
|
DownloadIgnored = 7
|
|
}
|
|
}
|