fixup! Fixed: Skip invalid series paths during validation
This commit is contained in:
parent
d5b131cacd
commit
1f46971f9a
|
@ -37,6 +37,12 @@ namespace NzbDrone.Core.Tv
|
|||
|
||||
private void MoveSingleSeries(Series series, string sourcePath, string destinationPath, int? index = null, int? total = null)
|
||||
{
|
||||
if (!sourcePath.IsPathValid(PathValidationType.CurrentOs))
|
||||
{
|
||||
_logger.Warn("Folder '{0}' for '{1}' is invalid, unable to move series. Try moving files manually", sourcePath, series.Title);
|
||||
return;
|
||||
}
|
||||
|
||||
if (!_diskProvider.FolderExists(sourcePath))
|
||||
{
|
||||
_logger.Debug("Folder '{0}' for '{1}' does not exist, not moving.", sourcePath, series.Title);
|
||||
|
|
Loading…
Reference in New Issue