From 29480d9544bcb67f60e5df62c8c525014f8dc0ce Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Thu, 27 Jun 2024 16:40:55 -0700 Subject: [PATCH] Fixed: Don't use cleaned up release title for release title --- src/NzbDrone.Core/Parser/Parser.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/NzbDrone.Core/Parser/Parser.cs b/src/NzbDrone.Core/Parser/Parser.cs index f164e36ff..cd56bbf55 100644 --- a/src/NzbDrone.Core/Parser/Parser.cs +++ b/src/NzbDrone.Core/Parser/Parser.cs @@ -745,7 +745,7 @@ namespace NzbDrone.Core.Parser Logger.Trace(regex); try { - var result = ParseMatchCollection(match, simpleTitle); + var result = ParseMatchCollection(match, releaseTitle); if (result != null) { @@ -1209,8 +1209,7 @@ namespace NzbDrone.Core.Parser } } - // TODO: This needs to check the modified title - if (lastSeasonEpisodeStringIndex != releaseTitle.Length) + if (lastSeasonEpisodeStringIndex < releaseTitle.Length) { result.ReleaseTokens = releaseTitle.Substring(lastSeasonEpisodeStringIndex); }