mirror of
https://github.com/Radarr/Radarr.git
synced 2024-08-16 23:39:44 +02:00
Fixed: Parsing series title during manual import
This commit is contained in:
parent
c1f59a55c6
commit
ab63c3e83d
@ -12,10 +12,8 @@
|
||||
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 @@ private ManualImportItem ProcessFile(string file, string downloadId, string fold
|
||||
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…
Reference in New Issue
Block a user