Fixed some issue around path normalization.

This commit is contained in:
kay.one
2011-12-10 11:22:47 -08:00
parent e269494ff8
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)