FilterExistingFiles no longer converts paths to all lower case

This commit is contained in:
Mark McDowall 2013-08-27 12:13:11 -07:00
commit 0d6b9969d2
3 changed files with 50 additions and 6 deletions

View file

@ -2,6 +2,7 @@
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NzbDrone.Common.EnvironmentInfo;
namespace NzbDrone.Common
{
@ -14,7 +15,12 @@ namespace NzbDrone.Common
public int GetHashCode(string obj)
{
return obj.CleanFilePath().GetHashCode();
if (OsInfo.IsLinux)
{
return obj.CleanFilePath().GetHashCode();
}
return obj.CleanFilePath().ToLower().GetHashCode();
}
}
}