From f616aee90b1a27a573302740cfa17d420a2b6bc1 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Fri, 27 Jan 2017 22:17:26 -0500 Subject: update xmltv parsing --- Emby.Server.Core/Configuration/ServerConfigurationManager.cs | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'Emby.Server.Core/Configuration/ServerConfigurationManager.cs') diff --git a/Emby.Server.Core/Configuration/ServerConfigurationManager.cs b/Emby.Server.Core/Configuration/ServerConfigurationManager.cs index f98c096ca..eb3d8b9f9 100644 --- a/Emby.Server.Core/Configuration/ServerConfigurationManager.cs +++ b/Emby.Server.Core/Configuration/ServerConfigurationManager.cs @@ -141,7 +141,6 @@ namespace Emby.Server.Core.Configuration { var newConfig = (ServerConfiguration)newConfiguration; - ValidatePathSubstitutions(newConfig); ValidateMetadataPath(newConfig); ValidateSslCertificate(newConfig); @@ -173,17 +172,6 @@ namespace Emby.Server.Core.Configuration } } - private void ValidatePathSubstitutions(ServerConfiguration newConfig) - { - foreach (var map in newConfig.PathSubstitutions) - { - if (string.IsNullOrWhiteSpace(map.From) || string.IsNullOrWhiteSpace(map.To)) - { - throw new ArgumentException("Invalid path substitution"); - } - } - } - /// /// Validates the metadata path. /// -- cgit v1.2.3