update xmltv parsing

This commit is contained in:
Luke Pulverenti
2017-01-27 22:17:26 -05:00
parent 558219132a
commit f616aee90b
4 changed files with 13 additions and 17 deletions

View File

@@ -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");
}
}
}
/// <summary>
/// Validates the metadata path.
/// </summary>