Save ImdbId for grabbed movie events

This commit is contained in:
Bogdan 2024-10-23 12:21:26 +03:00
parent 6747b74271
commit 2c9292c249
2 changed files with 2 additions and 0 deletions

View file

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

View file

@ -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());