From 2c9292c249c6269e3ee1b2427d5c4dd2553505ae Mon Sep 17 00:00:00 2001 From: Bogdan Date: Wed, 23 Oct 2024 12:21:26 +0300 Subject: [PATCH] Save ImdbId for grabbed movie events --- frontend/src/typings/History.ts | 1 + src/NzbDrone.Core/History/HistoryService.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/frontend/src/typings/History.ts b/frontend/src/typings/History.ts index 0c43f3236..de244bb1b 100644 --- a/frontend/src/typings/History.ts +++ b/frontend/src/typings/History.ts @@ -25,6 +25,7 @@ export interface GrabbedHistoryData { downloadUrl: string; guid: string; tmdbId: string; + imdbId: string; protocol: string; customFormatScore?: string; movieMatchType: string; diff --git a/src/NzbDrone.Core/History/HistoryService.cs b/src/NzbDrone.Core/History/HistoryService.cs index 785124ee7..56f7445a9 100644 --- a/src/NzbDrone.Core/History/HistoryService.cs +++ b/src/NzbDrone.Core/History/HistoryService.cs @@ -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());