Storing nzo_id from SAB in history (data)

This commit is contained in:
Mark McDowall
2013-10-20 18:30:46 -07:00
parent fa2bc76102
commit 2e1b921543
8 changed files with 36 additions and 51 deletions

View File

@@ -75,6 +75,12 @@ namespace NzbDrone.Core.History
history.Data.Add("ReleaseGroup", message.Episode.Release.ReleaseGroup);
history.Data.Add("Age", message.Episode.Release.Age.ToString());
if (!String.IsNullOrWhiteSpace(message.DownloadClientId))
{
history.Data.Add("DownloadClient", message.DownloadClient);
history.Data.Add("DownloadClientId", message.DownloadClientId);
}
_historyRepository.Insert(history);
}
}