case insensitive match for unmapped folders.

This commit is contained in:
Keivan Beigi 2013-08-20 12:28:46 -07:00
parent 1c62782fcd
commit c13195046d
6 changed files with 44 additions and 40 deletions

View file

@ -65,7 +65,7 @@ namespace NzbDrone.Core.MediaFiles
throw new FileNotFoundException("Episode file path does not exist", episodeFile.Path);
}
if (DiskProvider.PathEquals(episodeFile.Path, destinationFilename))
if (episodeFile.Path.PathEquals(destinationFilename))
{
throw new SameFilenameException("File not moved, source and destination are the same", episodeFile.Path);
}