aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Library/LibraryManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Emby.Server.Implementations/Library/LibraryManager.cs')
-rw-r--r--Emby.Server.Implementations/Library/LibraryManager.cs10
1 files changed, 0 insertions, 10 deletions
diff --git a/Emby.Server.Implementations/Library/LibraryManager.cs b/Emby.Server.Implementations/Library/LibraryManager.cs
index 973b2df8a..9a43405f4 100644
--- a/Emby.Server.Implementations/Library/LibraryManager.cs
+++ b/Emby.Server.Implementations/Library/LibraryManager.cs
@@ -2783,11 +2783,6 @@ namespace Emby.Server.Implementations.Library
{
foreach (var pathInfo in libraryOptions.PathInfos)
{
- if (string.IsNullOrWhiteSpace(pathInfo.Path) || string.IsNullOrWhiteSpace(pathInfo.NetworkPath))
- {
- continue;
- }
-
if (path.TryReplaceSubPath(pathInfo.Path, pathInfo.NetworkPath, out var newPath))
{
return newPath;
@@ -2809,11 +2804,6 @@ namespace Emby.Server.Implementations.Library
foreach (var map in _configurationManager.Configuration.PathSubstitutions)
{
- if (string.IsNullOrWhiteSpace(map.From))
- {
- continue;
- }
-
if (path.TryReplaceSubPath(map.From, map.To, out var newPath))
{
return newPath;