diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-01-12 00:07:19 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-01-12 00:07:19 -0500 |
| commit | f45e16660416a44b75716e9f33621fb711c98b5b (patch) | |
| tree | 7975c90600d4fbb2ba1b71938141bcf58676073f /MediaBrowser.Server.Implementations/Library/LibraryManager.cs | |
| parent | 231e89e4b91c95efbff4a75396e6a0426d409271 (diff) | |
update nlog
Diffstat (limited to 'MediaBrowser.Server.Implementations/Library/LibraryManager.cs')
| -rw-r--r-- | MediaBrowser.Server.Implementations/Library/LibraryManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Server.Implementations/Library/LibraryManager.cs b/MediaBrowser.Server.Implementations/Library/LibraryManager.cs index ab72d89fd..597dcd9af 100644 --- a/MediaBrowser.Server.Implementations/Library/LibraryManager.cs +++ b/MediaBrowser.Server.Implementations/Library/LibraryManager.cs @@ -577,7 +577,7 @@ namespace MediaBrowser.Server.Implementations.Library var fullPath = fileInfo.FullName; - if (string.IsNullOrWhiteSpace(collectionType)) + if (string.IsNullOrWhiteSpace(collectionType) && parent != null) { collectionType = GetContentTypeOverride(fullPath, true); } |
