1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-07-04 11:07:59 +02:00

Fixed: Manual Interaction Required with possible null movie

Prevent a NullRef when the notification is sent due to an invalid movie title

Fixes #10053
This commit is contained in:
Bogdan 2024-05-31 13:50:37 +03:00
parent e8c925274a
commit 0c654377f4

View File

@ -254,7 +254,7 @@ public void Handle(UpdateInstalledEvent message)
public void Handle(ManualInteractionRequiredEvent message)
{
var movie = message.RemoteMovie.Movie;
var movie = message.RemoteMovie?.Movie;
var mess = "";
if (movie != null)
@ -276,7 +276,7 @@ public void Handle(ManualInteractionRequiredEvent message)
{
Message = mess,
Movie = movie,
Quality = message.RemoteMovie.ParsedMovieInfo.Quality,
Quality = message.RemoteMovie?.ParsedMovieInfo.Quality,
RemoteMovie = message.RemoteMovie,
TrackedDownload = message.TrackedDownload,
DownloadClientInfo = message.TrackedDownload.DownloadItem?.DownloadClientInfo,