Fixed: Parsing series title during manual import

pull/3113/head v2.0.0.4230
Mark McDowall 9 years ago
parent c1f59a55c6
commit ab63c3e83d

@ -12,10 +12,8 @@ using NzbDrone.Core.Download.TrackedDownloads;
using NzbDrone.Core.MediaFiles.MediaInfo;
using NzbDrone.Core.Messaging.Commands;
using NzbDrone.Core.Messaging.Events;
using NzbDrone.Core.MetadataSource.SkyHook.Resource;
using NzbDrone.Core.Parser;
using NzbDrone.Core.Parser.Model;
using NzbDrone.Core.Qualities;
using NzbDrone.Core.Tv;
namespace NzbDrone.Core.MediaFiles.EpisodeImport.Manual
@ -126,13 +124,7 @@ namespace NzbDrone.Core.MediaFiles.EpisodeImport.Manual
folder = new FileInfo(file).Directory.FullName;
}
Series series = null;
var parsedEpisodeInfo = Parser.Parser.ParsePath(folder.GetRelativePath(file));
if (parsedEpisodeInfo != null)
{
series = _parsingService.GetSeries(parsedEpisodeInfo.SeriesTitle);
}
var series = _parsingService.GetSeries(folder.GetRelativePath(file));
if (series == null && downloadId.IsNotNullOrWhiteSpace())
{

Loading…
Cancel
Save