From 82a26a2fba72304e1bebd693e5eb05ee196219b0 Mon Sep 17 00:00:00 2001 From: Stevie Robinson Date: Sat, 4 May 2024 12:33:34 +0200 Subject: [PATCH] revert change to CustomFormatCalculationService.cs --- src/NzbDrone.Core/Blocklisting/BlocklistRepository.cs | 2 +- .../CustomFormats/CustomFormatCalculationService.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NzbDrone.Core/Blocklisting/BlocklistRepository.cs b/src/NzbDrone.Core/Blocklisting/BlocklistRepository.cs index 8e2fff954..ee8328661 100644 --- a/src/NzbDrone.Core/Blocklisting/BlocklistRepository.cs +++ b/src/NzbDrone.Core/Blocklisting/BlocklistRepository.cs @@ -73,6 +73,6 @@ namespace NzbDrone.Core.Blocklisting }); private string BuildProtocolWhereClause(DownloadProtocol? protocol) => - $"\"{TableMapping.Mapper.TableNameMapping(typeof(Blocklist))}\".\"Protocol\" = {(int) protocol}"; + $"\"{TableMapping.Mapper.TableNameMapping(typeof(Blocklist))}\".\"Protocol\" = {(int)protocol}"; } } diff --git a/src/NzbDrone.Core/CustomFormats/CustomFormatCalculationService.cs b/src/NzbDrone.Core/CustomFormats/CustomFormatCalculationService.cs index b01579c65..1f0cb296b 100644 --- a/src/NzbDrone.Core/CustomFormats/CustomFormatCalculationService.cs +++ b/src/NzbDrone.Core/CustomFormats/CustomFormatCalculationService.cs @@ -64,7 +64,7 @@ namespace NzbDrone.Core.CustomFormats var episodeInfo = new ParsedEpisodeInfo { - SeriesTitle = series?.Title ?? parsed.SeriesTitle, + SeriesTitle = series.Title, ReleaseTitle = parsed?.ReleaseTitle ?? blocklist.SourceTitle, Quality = blocklist.Quality, Languages = blocklist.Languages,