The Free Software Media System - Server Backend & API
update comparisons
Luke Pulverentif3981e1ec4c4
diff --git a/Emby.Server.Core/IO/LibraryMonitor.cs b/Emby.Server.Core/IO/LibraryMonitor.csindex ae7b66597c..a5b2e25558 100644--- a/Emby.Server.Core/IO/LibraryMonitor.cs+++ b/Emby.Server.Core/IO/LibraryMonitor.cs@@ -453,7 +453,7 @@ namespace Emby.Server.Core.IO// If the parent of an ignored path has a change event, ignore that tooif (tempIgnorePaths.Any(i =>{- if (string.Equals(i, path, StringComparison.OrdinalIgnoreCase))+ if (_fileSystem.AreEqual(i, path)){Logger.Debug("Ignoring change to {0}", path);return true;@@ -469,7 +469,7 @@ namespace Emby.Server.Core.IOvar parent = Path.GetDirectoryName(i);if (!string.IsNullOrEmpty(parent)){- if (string.Equals(parent, path, StringComparison.OrdinalIgnoreCase))+ if (_fileSystem.AreEqual(parent, path)){Logger.Debug("Ignoring change to {0}", path);return true;@@ -500,7 +500,7 @@ namespace Emby.Server.Core.IOforeach (var refresher in refreshers){// Path is already being refreshed- if (string.Equals(path, refresher.Path, StringComparison.Ordinal))+ if (_fileSystem.AreEqual(path, refresher.Path)){refresher.RestartTimer();return;