Save ImdbId for grabbed movie events

pull/10574/head
Bogdan 3 weeks ago
parent 6747b74271
commit 2c9292c249

@ -25,6 +25,7 @@ export interface GrabbedHistoryData {
downloadUrl: string;
guid: string;
tmdbId: string;
imdbId: string;
protocol: string;
customFormatScore?: string;
movieMatchType: string;

@ -150,6 +150,7 @@ namespace NzbDrone.Core.History
history.Data.Add("DownloadUrl", message.Movie.Release.DownloadUrl);
history.Data.Add("Guid", message.Movie.Release.Guid);
history.Data.Add("TmdbId", message.Movie.Release.TmdbId.ToString());
history.Data.Add("ImdbId", message.Movie.Release.ImdbId.ToString());
history.Data.Add("Protocol", ((int)message.Movie.Release.DownloadProtocol).ToString());
history.Data.Add("CustomFormatScore", message.Movie.CustomFormatScore.ToString());
history.Data.Add("MovieMatchType", message.Movie.MovieMatchType.ToString());

Loading…
Cancel
Save