Fixed: Don't use cleaned up release title for release title

This commit is contained in:
Mark McDowall 2024-06-27 16:40:55 -07:00 committed by Mark McDowall
parent 6de536a7ad
commit 29480d9544
1 changed files with 2 additions and 3 deletions

View File

@ -745,7 +745,7 @@ namespace NzbDrone.Core.Parser
Logger.Trace(regex); Logger.Trace(regex);
try try
{ {
var result = ParseMatchCollection(match, simpleTitle); var result = ParseMatchCollection(match, releaseTitle);
if (result != null) 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); result.ReleaseTokens = releaseTitle.Substring(lastSeasonEpisodeStringIndex);
} }