Fixed some issue around path normalization.

This commit is contained in:
kay.one 2011-12-10 11:22:47 -08:00
commit bfe4de7a08
7 changed files with 32 additions and 10 deletions

View file

@ -179,9 +179,7 @@ namespace NzbDrone.Core.Providers
public virtual bool SeriesPathExists(string path)
{
var normilizedPath = path.NormalizePath();
return GetAllSeries().Any(s => s.Path.NormalizePath() == normilizedPath);
return GetAllSeries().Any(s => DiskProvider.PathEquals(s.Path, path));
}
public virtual List<Series> SearchForSeries(string title)