update search css loading

This commit is contained in:
Luke Pulverenti 2015-12-02 15:50:25 -05:00
parent 123f0a5598
commit 3dd60b6ee0

View File

@ -56,6 +56,11 @@ namespace MediaBrowser.Api.Library
/// <param name="appPaths">The app paths.</param> /// <param name="appPaths">The app paths.</param>
public static void AddMediaPath(IFileSystem fileSystem, string virtualFolderName, string path, IServerApplicationPaths appPaths) public static void AddMediaPath(IFileSystem fileSystem, string virtualFolderName, string path, IServerApplicationPaths appPaths)
{ {
if (!string.IsNullOrWhiteSpace(path))
{
throw new ArgumentNullException("path");
}
if (!fileSystem.DirectoryExists(path)) if (!fileSystem.DirectoryExists(path))
{ {
throw new DirectoryNotFoundException("The path does not exist."); throw new DirectoryNotFoundException("The path does not exist.");