mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 05:23:31 -07:00
GetEpisodesByParseResult will return multiple episode names when multiple episodes are found.
This commit is contained in:
parent
dba5a1a236
commit
f3fbcec8cb
2 changed files with 75 additions and 2 deletions
|
@ -161,6 +161,7 @@ namespace NzbDrone.Core.Providers
|
|||
if (episodeInfo != null)
|
||||
{
|
||||
result.Add(episodeInfo);
|
||||
parseResult.EpisodeTitle = episodeInfo.Title;
|
||||
}
|
||||
|
||||
return result;
|
||||
|
@ -199,7 +200,8 @@ namespace NzbDrone.Core.Providers
|
|||
if (episodeInfo != null)
|
||||
{
|
||||
result.Add(episodeInfo);
|
||||
parseResult.EpisodeTitle = episodeInfo.Title;
|
||||
parseResult.EpisodeTitle += String.Format(" + {0}", episodeInfo.Title);
|
||||
parseResult.EpisodeTitle = parseResult.EpisodeTitle.Trim('+', ' ');
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue