mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
New: Add FileId to History data for import events
(cherry picked from commit 952a7248c962908fc5da92762507421923a06e17) Closes #1961
This commit is contained in:
parent
651abf9faa
commit
fc6175e597
1 changed files with 1 additions and 2 deletions
|
@ -236,8 +236,7 @@ namespace NzbDrone.Core.History
|
|||
DownloadId = downloadId
|
||||
};
|
||||
|
||||
// Won't have a value since we publish this event before saving to DB.
|
||||
// history.Data.Add("FileId", message.ImportedEpisode.Id.ToString());
|
||||
history.Data.Add("FileId", message.ImportedTrack.Id.ToString());
|
||||
history.Data.Add("DroppedPath", message.TrackInfo.Path);
|
||||
history.Data.Add("ImportedPath", message.ImportedTrack.Path);
|
||||
history.Data.Add("DownloadClient", message.DownloadClientInfo?.Name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue