mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -07:00
Fixed some issue around path normalization.
This commit is contained in:
parent
e269494ff8
commit
bfe4de7a08
7 changed files with 32 additions and 10 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue