Fixed manual import of unknown episodes.

This commit is contained in:
Taloth Saldono
2015-05-12 00:17:22 +02:00
parent af060d73cc
commit 429298c68c
5 changed files with 25 additions and 46 deletions

View File

@@ -57,7 +57,7 @@ namespace NzbDrone.Core.Parser
else
{
parsedEpisodeInfo = Parser.ParsePath(filename);
parsedEpisodeInfo = Parser.ParsePath(filename);
}
if (parsedEpisodeInfo == null || parsedEpisodeInfo.IsPossibleSpecialEpisode)
@@ -78,12 +78,6 @@ namespace NzbDrone.Core.Parser
var episodes = GetEpisodes(parsedEpisodeInfo, series, sceneSource);
if (episodes.Empty())
{
_logger.Debug("No matching episodes found for: {0}", parsedEpisodeInfo);
throw new EpisodeNotFoundException("Unable to find episodes for file: {0}", parsedEpisodeInfo);
}
return new LocalEpisode
{
Series = series,