mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-29 05:16:34 +02:00
Fixed an issue with parsing full path instead of filename on import
This should fix Card #61
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using NLog;
|
||||
@@ -42,7 +43,8 @@ namespace NzbDrone.Core.MediaFiles.EpisodeImport
|
||||
|
||||
try
|
||||
{
|
||||
var parsedEpisode = _parsingService.GetEpisodes(file, series);
|
||||
var fileWithoutExtension = Path.GetFileNameWithoutExtension(file);
|
||||
var parsedEpisode = _parsingService.GetEpisodes(Path.GetFileNameWithoutExtension(file), series);
|
||||
|
||||
if (parsedEpisode != null)
|
||||
{
|
||||
|
Reference in New Issue
Block a user