mirror of
https://github.com/Sonarr/Sonarr
synced 2026-05-01 09:31:33 +02:00
Fixed: Don't use cleaned up release title for release title
This commit is contained in:
parent
6de536a7ad
commit
29480d9544
1 changed files with 2 additions and 3 deletions
|
|
@ -745,7 +745,7 @@ public static ParsedEpisodeInfo ParseTitle(string title)
|
|||
Logger.Trace(regex);
|
||||
try
|
||||
{
|
||||
var result = ParseMatchCollection(match, simpleTitle);
|
||||
var result = ParseMatchCollection(match, releaseTitle);
|
||||
|
||||
if (result != null)
|
||||
{
|
||||
|
|
@ -1209,8 +1209,7 @@ private static ParsedEpisodeInfo ParseMatchCollection(MatchCollection matchColle
|
|||
}
|
||||
}
|
||||
|
||||
// TODO: This needs to check the modified title
|
||||
if (lastSeasonEpisodeStringIndex != releaseTitle.Length)
|
||||
if (lastSeasonEpisodeStringIndex < releaseTitle.Length)
|
||||
{
|
||||
result.ReleaseTokens = releaseTitle.Substring(lastSeasonEpisodeStringIndex);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue