mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-12 11:15:43 +02:00
Fixed bug with duplicate episode naming.
This commit is contained in:
parent
8170daf025
commit
d2779d2cdf
@ -170,6 +170,9 @@ public virtual IList<Episode> GetEpisodesByParseResult(EpisodeParseResult parseR
|
||||
if (parseResult.EpisodeNumbers == null)
|
||||
return result;
|
||||
|
||||
//Set it to empty before looping through the episode numbers
|
||||
parseResult.EpisodeTitle = String.Empty;
|
||||
|
||||
foreach (var episodeNumber in parseResult.EpisodeNumbers)
|
||||
{
|
||||
var episodeInfo = GetEpisode(parseResult.Series.SeriesId, parseResult.SeasonNumber, episodeNumber);
|
||||
|
Loading…
Reference in New Issue
Block a user