mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
Fixed: Don't mark releases as imported unless at least one file is imported
This commit is contained in:
parent
20894b40cf
commit
b638e09f24
8 changed files with 143 additions and 23 deletions
|
@ -62,10 +62,10 @@ namespace NzbDrone.Core.Parser
|
|||
|
||||
var episodes = GetEpisodes(parsedEpisodeInfo, series, sceneSource);
|
||||
|
||||
if (!episodes.Any())
|
||||
if (episodes.Empty())
|
||||
{
|
||||
_logger.Debug("No matching episodes found for: {0}", parsedEpisodeInfo);
|
||||
return null;
|
||||
throw new EpisodeNotFoundException("Unable to find episodes for file: {0}", parsedEpisodeInfo);
|
||||
}
|
||||
|
||||
return new LocalEpisode
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue