mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
case insensitive match for unmapped folders.
This commit is contained in:
parent
1c62782fcd
commit
c13195046d
6 changed files with 44 additions and 40 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue