From 47353aea754c345c3e2582cf00a05100d725b00d Mon Sep 17 00:00:00 2001 From: Qstick Date: Sun, 5 Feb 2023 23:31:00 -0600 Subject: [PATCH] Fixed: Avoid failure on null SceneName --- .../CustomFormats/CustomFormatCalculationService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/CustomFormats/CustomFormatCalculationService.cs b/src/NzbDrone.Core/CustomFormats/CustomFormatCalculationService.cs index 706a02e57..48fca3866 100644 --- a/src/NzbDrone.Core/CustomFormats/CustomFormatCalculationService.cs +++ b/src/NzbDrone.Core/CustomFormats/CustomFormatCalculationService.cs @@ -116,7 +116,7 @@ namespace NzbDrone.Core.CustomFormats var episodeInfo = new ParsedMovieInfo { MovieTitles = new List() { localMovie.Movie.Title }, - SimpleReleaseTitle = localMovie.SceneName.SimplifyReleaseTitle(), + SimpleReleaseTitle = localMovie.SceneName?.SimplifyReleaseTitle(), ReleaseTitle = localMovie.SceneName, Quality = localMovie.Quality, Edition = localMovie.Edition,