mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 14:03:29 -07:00
Fixed an issue when trying to import files
This commit is contained in:
parent
389201a9eb
commit
e8238fb03a
5 changed files with 12 additions and 20 deletions
|
@ -77,7 +77,7 @@ namespace NzbDrone.Core.MediaFiles.EpisodeImport
|
|||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
_logger.WarnException("Couldn't add report to download queue. " + localEpisode, e);
|
||||
_logger.WarnException("Couldn't import episode " + localEpisode, e);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -43,8 +43,7 @@ namespace NzbDrone.Core.MediaFiles.EpisodeImport
|
|||
|
||||
try
|
||||
{
|
||||
var fileWithoutExtension = Path.GetFileNameWithoutExtension(file);
|
||||
var parsedEpisode = _parsingService.GetEpisodes(Path.GetFileNameWithoutExtension(file), series);
|
||||
var parsedEpisode = _parsingService.GetEpisodes(file, series);
|
||||
|
||||
if (parsedEpisode != null)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue