diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-12-28 12:59:40 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-12-28 12:59:40 -0500 |
| commit | 726cf9697aba40f26223789138fe0858ebb374bc (patch) | |
| tree | f6186ca203d9aa2abd783b2339a76133b6153ecc /MediaBrowser.Controller/Providers | |
| parent | 5278959edef763bdf0b4d72ace75efd151ab5024 (diff) | |
sync updates
Diffstat (limited to 'MediaBrowser.Controller/Providers')
| -rw-r--r-- | MediaBrowser.Controller/Providers/DirectoryService.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Providers/DirectoryService.cs b/MediaBrowser.Controller/Providers/DirectoryService.cs index 74a9c6606c..06ea7be02d 100644 --- a/MediaBrowser.Controller/Providers/DirectoryService.cs +++ b/MediaBrowser.Controller/Providers/DirectoryService.cs @@ -46,6 +46,11 @@ namespace MediaBrowser.Controller.Providers private Dictionary<string, FileSystemInfo> GetFileSystemDictionary(string path, bool clearCache) { + if (string.IsNullOrWhiteSpace(path)) + { + throw new ArgumentNullException("path"); + } + Dictionary<string, FileSystemInfo> entries; if (clearCache) |
