|
|
|
@ -186,7 +186,7 @@ namespace NzbDrone.Core.History
|
|
|
|
|
{
|
|
|
|
|
EventType = HistoryEventType.Grabbed,
|
|
|
|
|
Date = DateTime.UtcNow,
|
|
|
|
|
Quality = message.Movie.ParsedEpisodeInfo.Quality,
|
|
|
|
|
Quality = message.Movie.ParsedMovieInfo.Quality,
|
|
|
|
|
SourceTitle = message.Movie.Release.Title,
|
|
|
|
|
SeriesId = 0,
|
|
|
|
|
EpisodeId = 0,
|
|
|
|
@ -196,7 +196,7 @@ namespace NzbDrone.Core.History
|
|
|
|
|
|
|
|
|
|
history.Data.Add("Indexer", message.Movie.Release.Indexer);
|
|
|
|
|
history.Data.Add("NzbInfoUrl", message.Movie.Release.InfoUrl);
|
|
|
|
|
history.Data.Add("ReleaseGroup", message.Movie.ParsedEpisodeInfo.ReleaseGroup);
|
|
|
|
|
history.Data.Add("ReleaseGroup", message.Movie.ParsedMovieInfo.ReleaseGroup);
|
|
|
|
|
history.Data.Add("Age", message.Movie.Release.Age.ToString());
|
|
|
|
|
history.Data.Add("AgeHours", message.Movie.Release.AgeHours.ToString());
|
|
|
|
|
history.Data.Add("AgeMinutes", message.Movie.Release.AgeMinutes.ToString());
|
|
|
|
@ -209,9 +209,9 @@ namespace NzbDrone.Core.History
|
|
|
|
|
history.Data.Add("TvRageId", message.Movie.Release.TvRageId.ToString());
|
|
|
|
|
history.Data.Add("Protocol", ((int)message.Movie.Release.DownloadProtocol).ToString());
|
|
|
|
|
|
|
|
|
|
if (!message.Movie.ParsedEpisodeInfo.ReleaseHash.IsNullOrWhiteSpace())
|
|
|
|
|
if (!message.Movie.ParsedMovieInfo.ReleaseHash.IsNullOrWhiteSpace())
|
|
|
|
|
{
|
|
|
|
|
history.Data.Add("ReleaseHash", message.Movie.ParsedEpisodeInfo.ReleaseHash);
|
|
|
|
|
history.Data.Add("ReleaseHash", message.Movie.ParsedMovieInfo.ReleaseHash);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var torrentRelease = message.Movie.Release as TorrentInfo;
|
|
|
|
|