mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-26 22:46:53 -04:00
Fixed: Episode import when the series folder had a trailing slash and folder was not on disk
This commit is contained in:
@@ -153,7 +153,7 @@ namespace NzbDrone.Core.MediaFiles
|
||||
var episodeFolder = Path.GetDirectoryName(filePath);
|
||||
var seasonFolder = _buildFileNames.BuildSeasonPath(series, seasonNumber);
|
||||
var seriesFolder = series.Path;
|
||||
var rootFolder = Path.GetDirectoryName(seriesFolder);
|
||||
var rootFolder = new OsPath(seriesFolder).Directory.FullPath;
|
||||
|
||||
if (!_diskProvider.FolderExists(rootFolder))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user