Fixed bug with duplicate episode naming.

pull/4/head
Mark McDowall 13 years ago
parent 8170daf025
commit d2779d2cdf

@ -170,6 +170,9 @@ namespace NzbDrone.Core.Providers
if (parseResult.EpisodeNumbers == null) if (parseResult.EpisodeNumbers == null)
return result; return result;
//Set it to empty before looping through the episode numbers
parseResult.EpisodeTitle = String.Empty;
foreach (var episodeNumber in parseResult.EpisodeNumbers) foreach (var episodeNumber in parseResult.EpisodeNumbers)
{ {
var episodeInfo = GetEpisode(parseResult.Series.SeriesId, parseResult.SeasonNumber, episodeNumber); var episodeInfo = GetEpisode(parseResult.Series.SeriesId, parseResult.SeasonNumber, episodeNumber);

Loading…
Cancel
Save